Hi, Please help me with this. I keep on getting application/ object not defined error messages. I have no idea how to fix it, as I dont know what I did wrong.
Thanks.
Best,
Morris
Here is my code:
Dim wb As Workbook
Application.ScreenUpdating = False
Set wb = Workbooks.Open(Filename:=" C:\Users\Morris.Bob\My Documents\ VIP Flight Order\ All Items in Database\IH_Meals_Familiar.xls", Password:=chocolatesauce11)
wb.Windows(1).Visible = False
Thanks.
Best,
Morris
Here is my code:
Dim wb As Workbook
Application.ScreenUpdating = False
Set wb = Workbooks.Open(Filename:=" C:\Users\Morris.Bob\My Documents\ VIP Flight Order\ All Items in Database\IH_Meals_Familiar.xls", Password:=chocolatesauce11)
wb.Windows(1).Visible = False