VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
Hi All,
Im getting an error on red line. Error - Invalid inqualifier. can any one please help
Im getting an error on red line. Error - Invalid inqualifier. can any one please help
Code:
If myFileExists("\\inmum-i-fs4\group$\WNA Skyline\Common\" & [COLOR=#ff0000]Uname[/COLOR].xls) Then
Workbooks.Open Filename:="uname.xls", UpdateLinks:=False
Worksheets(Uname).Select
Else
Set NewWb = Workbooks.Add
Application.Dialogs(xlDialogSaveAs).Show
NewWb.Save
NewWb.Close
End If