Error 1004 using sheet's Workbook_Open()

James Snyder

Well-known Member
Joined
Jan 11, 2013
Messages
618
This one is hopefully a simple answer from an expert. I used a previous program as a template for building a new one, but run into a 1004 error on launch. Don't spend mush time on this as I am sure I will figure it out quickly even without help. Upon launching, I get this error:
09.10.2013-10.08.11 - Bermex's library
Using the Debug button gets me here to the event handler:
09.10.2013-10.13.26 - Bermex's library
All this seems like simple code, but this is the first time I have used an existing program as a template, and I am reasonably sure that it is the source of the error. Now I need to figure out why and fix it. Is there a setting to check for whether macros are enabled?
 
Where is the sub Main located?

What level is macro security at?

PS Please, no pictures.:)
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
File>Options>Trust Center>Trust Center Settings...
 
Upvote 0

Forum statistics

Threads
1,216,458
Messages
6,130,754
Members
449,588
Latest member
accountant606

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