473,504 Members | 13,830 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can pass data from access to access unbound object (Excel)

2 New Member
I create a form in an Access database and put in an unbound object which the class is Excel. I am going to pass data from the Access database to the object, I try to use Excel function "CopyFromRecordset" to pass data. I don't know how to write VBA code.
Mar 21 '07 #1
2 2345
brynne
13 New Member
I create a form in an Access database and put in an unbound object which the class is Excel. I am going to pass data from the Access database to the object, I try to use Excel function "CopyFromRecordset" to pass data. I don't know how to write VBA code.
Hi Charlie,

I don't write much VBA either (although I have a bit of Pascal and C+ experience). Are you sure you need to embed the Excel object? Could you not get round the problem by simply exporting the data into Excel? My experience has been that once you have created your spreadsheet and all the cells are correctly formatted and the functions working, one can quite simply replace the data by using the export facility on the File menu.

B
Mar 21 '07 #2
Charlie Xu
2 New Member
Hi Charlie,

I don't write much VBA either (although I have a bit of Pascal and C+ experience). Are you sure you need to embed the Excel object? Could you not get round the problem by simply exporting the data into Excel? My experience has been that once you have created your spreadsheet and all the cells are correctly formatted and the functions working, one can quite simply replace the data by using the export facility on the File menu.

B
Hi brynne;

Thank you for your reply.

I am sure I need to embed the Excel object. Did you use the pivot table wizard function in MS Access form (version 97). It is create an embed Excel object and MS Access automatically pass data to the object. You can edit them. While you close the Excel object. Access will automatically save them. That is what I want to achieve.
Mar 22 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3028
by: Robert | last post by:
Python doesn't know the class of a method when container not direct class attribute: >>> class X: .... def f():pass .... g=f .... l= .... >>> X.g <unbound method X.f>
2
5272
by: Niyazi | last post by:
Hi, I have to retrieve a data from AS400 DB2 and after working with data I have to export into one of existing Excel file. I can connect into specific library in AS400 DB2 using AS400...
8
8066
by: Colleyville Alan | last post by:
I have been working on an Access app that takes info from a file and writes it to a spreadsheet on a form, simultaneously saving the spreadsheet to Excel. I got the idea that the same concept...
3
25021
by: Mads Petersen | last post by:
I'm stuck in this code. Hope you can and will help me. I launch it from excel. I have made the following code work, but not as i whant. I need the ranges to be working with something like xlDown....
8
25332
by: Jerry | last post by:
I have an off-the-shelf app that uses an Access database as its backend. One of the tables contains a field with an "OLE Object" datatype. I'm writing some reports against this database, and I...
7
5749
by: semijoyful | last post by:
OS: Win XP SP2 Access version: 2003 Excel version: 2003 I am new at this, as I am sure you have gathered from this post title:) I am working on a form where users can input data in Access and...
5
5735
by: techbuddha | last post by:
Hi new to the forum and visual basic. I am attempting to fix a migration of excel to access. The excel sheets where simple copied as is into access. for example one table lists the academic...
9
377
by: Bill E. | last post by:
I'm creating an MS Access application that connects to a SQL Server 2005 database using pass-through queries and ADO to call stored procedures. I ran a SQL trace and started clicking through...
12
11006
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7298
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4698
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1526
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
406
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.