View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson[_5_] Jim Thomlinson[_5_] is offline
external usenet poster
 
Posts: 486
Default Workbook Name as Variable

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,