Macro Error Message with no Module attached

pbornemeier

Well-known Member
Joined
May 24, 2005
Messages
3,896
I was getting this error message when I opened some Excel files I inherited:

This workbook contains one or more Microsoft Excel 4.0 macros. These macros may contain viruses or other harmful code. Open this workbook only if you trust the source. Do you want to enable these macros?

There were no modules attached to the file.

Macros created in the older version of Excel (v4.0 released 1992) can be displayed in the Insert | Name | Define ... dialog box.

Range names and Excel 4.0 macro names are listed in this dialog box. Deleting those macros will eliminate the error message. To understand/edit those macros the following links may be of use:

mrexcel.com link to external site:
http://www.mrexcel.com/archive/Office/5098.html

Microsoft link to file describing Excel 4.0 macro functions (be careful - it may replace an existing help file):
http://office.microsoft.com/en-us/excel/HP010475331033.aspx
Note that there are some Excel 4.0 macros that have no direct VBA equivalent. See "ExecuteExcel4Macro Method" in VBA help.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,956
Messages
5,834,579
Members
430,298
Latest member
Stanles

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
Top