|
-
Apr 27th, 2006, 07:18 PM
#1
Thread Starter
Addicted Member
help with Datareport and excel
how can i set the datareport1.datasource to an excel file?? is it ont object Excel App or the workbooks?? or neither? how?? thanks!
-
Apr 27th, 2006, 07:43 PM
#2
Thread Starter
Addicted Member
Re: help with Datareport and excel
-
Apr 27th, 2006, 08:21 PM
#3
Thread Starter
Addicted Member
Re: help with Datareport and excel
datareport1.datasource = ?? "i need to know on how to set it to an excel file"
please help!!
-
Apr 27th, 2006, 08:58 PM
#4
Frenzied Member
Re: help with Datareport and excel
you need to open a recordset connected to the excel file that you have
see the attached link for inforation about connecting a recordset to an excel file
http://vbforums.com/showthread.php?t=394651
then set the datasource of your report to your recordset
set DataReport1.DataSource = myRecordset
On error goto Trap
Trap:
in case of emergency, drop the case...
****************************************
If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option. if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar
-
Apr 28th, 2006, 06:24 AM
#5
Re: help with Datareport and excel
Moved to reporting section
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|