Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have 2 subroutines in my EXCEL 2003 workbook and they are each assigned to
the CLICK event of their own button. The first subroutine performs a pass-thru extraction from a SQL database. There is a SUMMARY sheet in the workbook that then does some calculations on the data that is extracted using the DCount and DCountA functions into specific cells on the SUMMARY sheet. The second sub-routine copies the resultant values calculated using the DCount and DCountA functions onto another workbook that I'm going to use to generate a trend chart. If I click the first button and then the second button, every thing works as I'd expect. What I want to do is call the second sub-routine as the last line in the first sub-routine. When I do this the first sub-routine works the same but the second sub-routine puts zeroes instead of the values from the SUMMARY sheet. Help... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calling subroutines and passing variables | Excel Programming | |||
Calling subroutines and passing variables | Excel Programming | |||
Calling subroutines from Class Modules | Excel Programming | |||
Calling Add-In subroutines from other modules | Excel Programming | |||
Calling Subroutines/User Functions from Macros | Excel Programming |