Formating Excel via Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have exported a table from Access to Excel and would like to set some
formatting to the new spreadsheet. Specifically, I would like to set the
column width of columns A - F, and bold the header row (row 1). Ideally, I
would like to have it AutoFilter, but I think that is a bit overzealous at
this point!

Thanks in advance,
Kevin
 
Please see my other post under this same sbuject. For some reason the
message board said it could not process my post, so I posted the same
question again.

Sorry for the trouble!
 
Go into Excel and start Record Macro. Go through the processes you mention
here; set the column width of columns A - F, and bold the header row (row 1)
and set AutoFilter. Stop Record Macro. Go to edit macro and you will see the
code needed to do these things. Copy and add the code to your Access code;
you will need to edit it some to apply the code to the Excel model.
 
Great tip- thanks!

PC Datasheet said:
Go into Excel and start Record Macro. Go through the processes you mention
here; set the column width of columns A - F, and bold the header row (row 1)
and set AutoFilter. Stop Record Macro. Go to edit macro and you will see the
code needed to do these things. Copy and add the code to your Access code;
you will need to edit it some to apply the code to the Excel model.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
(e-mail address removed)
www.pcdatasheet.com
 

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