Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / November 2006

Tip: Looking for answers? Try searching our database.

Moving Excel code to a new workbook

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mcescher - 08 Nov 2006 16:32 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.