Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following (very abbreviated macro)
Sub AllSummary() Dim Tabname As String Tabname = "SUMMARY (A)" Call SheetSummary End Sub What do I need to do within SheetSummary so that it recognizes the Tabname defined here? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Give this a whirl...
Sub AllSummary() Dim Tabname As String Tabname = "SUMMARY (A)" Call SheetSummary(Tabname) End Sub Sub SheetSummary(ByVal strSheetName as string) msgbox strSheetName end sub -- HTH... Jim Thomlinson "Barb Reinhardt" wrote: I have the following (very abbreviated macro) Sub AllSummary() Dim Tabname As String Tabname = "SUMMARY (A)" Call SheetSummary End Sub What do I need to do within SheetSummary so that it recognizes the Tabname defined here? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro assistance | Excel Worksheet Functions | |||
Macro assistance | Excel Programming | |||
User Defined Variables in MS query cause a problem to import data | Excel Discussion (Misc queries) | |||
Macro Run-time Error 1004 Application Defined or Object Defined Error | Excel Programming | |||
User defined Spreasheet Functions - How to add "help/ assistance comments" | Excel Programming |