Macro Button in Header to export to excel

byujakedmb

Registered User.
Local time
Today, 16:27
Joined
Jun 8, 2010
Messages
14
Hey y'all I need help creating a macro button to put in the header of my form. I need the button to export the form to excel. Can anyone help me do this?
 
are you running access 2007?
 
When you say "Export to Excel" what do you actually want to see in Excel?
 
When you say "Export to Excel" what do you actually want to see in Excel?

just the information in the columns the way it is organized in the form. I dont need the format or borders or anything like that. Just the column headings and data
 
Why do you need it in Excel?

You need to be looking at the transferspreadsheet command.

Does it need to go into a new or existing workbook?
 
Why do you need it in Excel?

You need to be looking at the transferspreadsheet command.

Does it need to go into a new or existing workbook?

I dont necessarily need it in excel, but I need to send just the report in an email. So I figured the easiest way would be to export it so it becomes its own file and then I could send it. Is there another way that would make more sense?
 
Depends on the version of Access you are using and whether the receipent has access or not. If 2007 you could output to PDF and send them the pdf as an attachment.
 
Can someone help me create a macro to put on a report that runs a saved export? (2007)
 

Users who are viewing this thread

Back
Top Bottom