If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Exporting an Access Form to a Worksheet in Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-12, 14:22
TheDracon TheDracon is offline
Registered User
 
Join Date: Jan 2012
Posts: 4
Exporting an Access Form to a Worksheet in Excel

Hi all. After some research, I'm fairly stumped on how to perform the following action, and I couldn't find someone attempting to do the same thing, so i thought I'd ask.

Essentially, my goal is to export a form via VBA code into a specific worksheet or page in an excel workbook. I would rather not create new workbooks for each export because I'm exporting 14 forms and presenting them together, so it seems to make sense to bundle them together.

These forms are viewed in datasheet mode, so they should spreadsheet compatable, but they are not directly drawn from queries or tables, so the asy DoCmd.TransferSpreadsheet doesn't seem to be working.

Essentially, I'm looking for a way to specify a worksheet for DoCmd.OutputTo acOutputForm, does such a thing exist?

Thanks in advance, and if you need any specifics, I'll be happy to provide them.
Reply With Quote
  #2 (permalink)  
Old 01-26-12, 16:21
Sinndho Sinndho is offline
Registered User
 
Join Date: Mar 2009
Posts: 3,446
Using Automation probably is the best way to achieve what you're looking for. Have a look at: Methods for transferring data to Excel from Visual Basic
__________________
Have a nice day!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On