G
Guest
I have code in workbook open event that hides the window and just shows the
userform that opens up. The code is as follows:
Windows("ABS Open2.xls").Visible = False
I'd like to replace typing the actual filename with code to use the full
path of the file so I can easily use this code in other workbooks but can't
seem to get the syntax correct.
Would appreciate help with the above or alternates.
userform that opens up. The code is as follows:
Windows("ABS Open2.xls").Visible = False
I'd like to replace typing the actual filename with code to use the full
path of the file so I can easily use this code in other workbooks but can't
seem to get the syntax correct.
Would appreciate help with the above or alternates.