Formatting exported Excel sheets

Joined
Oct 24, 2005
Messages
1
Reaction score
0
I have an Access database from which I export a query (using VBA) as a new Excel Spreadsheet each day. The employees in the department to which the sheet is sent are not familiar with Excel (!) so they are demanding the sheet be formatted when they receive it.

I'm trying to make the process easy for my co-workers and have already automated the creation of the spreadsheet and have figured out how to autofit all the columns, but I need help with some additional tasks.

I'd like to get the sheet formatted as landscape on legal size paper and print the gridlines. My attempts at doing this so far with PageSetup functions in VBA have failed.

Any advice would be greatly appreciated. Much thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top