Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

Macro in Template needs to go to XLS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
2D Rick - 14 Sep 2006 19:04 GMT
I use Docmd.OutputTo in Access2003 to send the data from a report to
Excel.
I tell it to use a Template which has 1 macro assigned to it.
The OutputTo function saves it as a XLS file but the macro doesn't make
it to the new file.
Why, and is there something that will pass the macro from the template
to the XLS????

Thanks, Rick
Huff - 18 Sep 2006 16:03 GMT
Rick

I've used the DoCmd.TransferSpreadsheet method to write data from a
query to a spreadsheet that has an AutoOpen macro on it. This method
seems to work fine and the macro runs.

Not certain if that's exactly what you're looking for or not, but may
be a start.

Thanks

D

> I use Docmd.OutputTo in Access2003 to send the data from a report to
> Excel.
[quoted text clipped - 5 lines]
>
> Thanks, Rick
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.