View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default take Active Sheetname

one way:

Dim nameSheet As String
nameSheet = ActiveSheet.Name

In article ,
Zurn wrote:

Dim nameSheet as string

variable nameSheet has to be the name of the current sheet, what do I
have to use?