C
cherman
I am using Access/Excel 2003 and I'm trying to open a file called
Quad_Charts_Template.xls from my C drive, dump some data on one of the
sheets, make a couple changes and save it with a specific name.
This is the code I have to choose my record sorce:
Set rst = CurrentDb.OpenRecordset("qry_Avg_Age_Trend_Source_Data")
The worksheet is called "AAT_Raw_Data", which will always be the 1st sheet
and I want to copy the data from rst onto the sheet starting at A1.
I also want to bold the header row and set the auto filter as active.
And finally I want to save the file as "abc" in the same folder.
I have some code working and some that doesn't so I thought it would be good
to get the complete code from someone.
Any help would be greatly appreciated!
Quad_Charts_Template.xls from my C drive, dump some data on one of the
sheets, make a couple changes and save it with a specific name.
This is the code I have to choose my record sorce:
Set rst = CurrentDb.OpenRecordset("qry_Avg_Age_Trend_Source_Data")
The worksheet is called "AAT_Raw_Data", which will always be the 1st sheet
and I want to copy the data from rst onto the sheet starting at A1.
I also want to bold the header row and set the auto filter as active.
And finally I want to save the file as "abc" in the same folder.
I have some code working and some that doesn't so I thought it would be good
to get the complete code from someone.
Any help would be greatly appreciated!