Macro Error Message with no Module attached

pbornemeier

Well-known Member
Joined
May 24, 2005
Messages
3,889
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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Watch MrExcel Video

Forum statistics

Threads
1,129,383
Messages
5,635,942
Members
416,889
Latest member
dhegs

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