Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to get the name of the active workbook assigned to a variable in the
Macro that I am trying to write. Is this possible? Thanks, |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim wbname as String
wbname = ActiveWorkbook.Name |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "Mark Lincoln" wrote: Dim wbname as String wbname = ActiveWorkbook.Name Thank You for the fast reponse. It was very helpful |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Workbookname()
Dim strActivebook As String strActivebook = ActiveWorkbook.Name End Sub -- HTH... Jim Thomlinson "Herd" wrote: I need to get the name of the active workbook assigned to a variable in the Macro that I am trying to write. Is this possible? Thanks, |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "Jim Thomlinson" wrote: Sub Workbookname() Dim strActivebook As String strActivebook = ActiveWorkbook.Name End Sub Thank You for the fast response. It was very helpful. -- HTH... Jim Thomlinson "Herd" wrote: I need to get the name of the active workbook assigned to a variable in the Macro that I am trying to write. Is this possible? Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can a workbook variable be set by clicking the workbook? | Excel Programming | |||
Can a workbook variable be set by clicking the workbook? | Excel Programming | |||
Can a workbook variable be set by clicking the workbook? | Excel Programming | |||
Can a workbook variable be set by clicking the workbook? | Excel Programming | |||
Can a workbook variable be set by clicking the workbook? | Excel Programming |