Thread
:
File name into a variable
View Single Post
#
3
Posted to microsoft.public.excel.programming
Mauro Gamberini
external usenet poster
Posts: 3
File name into a variable
The code gives the name of the
VB
file, not the excel
file. Is there a way to give the name of the excel file?
???????
Public Sub myFile()
Dim s As String
s = ThisWorkbook.Name
MsgBox (s)
End Sub
--
----------------------------
Mauro Gamberini
Reply With Quote
Mauro Gamberini
View Public Profile
Find all posts by Mauro Gamberini