Answers for "vba get workbook name"

VBA
0

vba get workbook name

fileName = ThisWorkbook.Name 
Debug.Print fileName		' With extension
If InStr(fileName, ".") > 0 Then 
   fileName = Left(fileName, InStr(fileName, ".") - 1) 
   Debug.Print fileName		' Without extension
End If
Posted by: Guest on February-13-2021

Code answers related to "vba get workbook name"

Code answers related to "VBA"

Browse Popular Code Answers by Language