Hi All,
I've searched here and mvps.org, and can't come up with an answer, so
any help would be much appreciated.
Through automation, I am pushing query results out to an Excel
workbook, and formating the text some. That part works great. The
excel sheet uses autofilters so the user can select their information.
The top of the sheet has a totals row that automatically updates after
the user has changed their selection via the autofilters. The Totals
are updated by a function that sums only the visible cells. It's a
short piece of code, but very useful for this application.
With all that being said, I need to be able to push that VB code into
the newly created Excel sheet, so that function is available to the
worksheet.
Access 2002, Excel 2002
HELP!!!,
Chris M
Stefan Hoffmann - 08 Nov 2006 16:47 GMT
hi Chris,
> With all that being said, I need to be able to push that VB code into
> the newly created Excel sheet, so that function is available to the
> worksheet.
Create the new sheet from a template, which contains your code.
mfG
--> stefan <--
mcescher - 08 Nov 2006 19:30 GMT
> hi Chris,
>
[quoted text clipped - 5 lines]
> mfG
> --> stefan <--
Sometimes the easiest answers are the hardest to see....
That was a genius idea. Thanks!!!
Chris