cant open workbook

mfung828

New Member
Joined
Dec 24, 2014
Messages
4
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
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,214,925
Messages
6,122,298
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top