Z Zurn Sep 28, 2004 #1 Dim nameSheet as string variable nameSheet has to be the name of the current sheet, what do have to use
Dim nameSheet as string variable nameSheet has to be the name of the current sheet, what do have to use
P patrick Sep 28, 2004 #3 dim MyBook as string dim MySheet as string MyBook = ActiveWorkbook.Name MySheet = ActiveSheet.Name