Makro in Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Excel I created a makro, which was used to "reorganise" all 12 sheets in
the document. After running the makro, the makro was deleted and the document
was saved again under a new name.
Whenever I now open that particular document I'm asked, if I want the
document opened with or without makros.
How can this document be "cleaned", so I can open it without that
dialog-window about makros?
 
You need to remove the module where the code was saved, most likely, Module
1.

Press Alt-F11 to open the VBE. Right Click on the module, select "Remove
module..." and say "no" to saving a copy. Save the workbook and you're done

Regards

Trevor
 
AndersTC said:
In Excel I created a makro, which was used to "reorganise" all 12 sheets in
the document. After running the makro, the makro was deleted and the document
was saved again under a new name.
Whenever I now open that particular document I'm asked, if I want the
document opened with or without makros.
How can this document be "cleaned", so I can open it without that
dialog-window about makros?

You can sign the document if you want to keep the macro. I think there's a
tool in office that you can use to create a certificate.

/Fredrik
 
Thanks for prompt reply - and I have tried your solution, but unfortunately I
still have to respond whether to open the document with or without a macro.

Regards AndersTC

"Trevor Shuttleworth" skrev:
 
Dear Trevor

In my first answer to you I wrote that i still had that problem. I have now
tried again and now I succesfully have found that module1 and deleted it and
- wow - it works, so thank you very, very much for your help.

Regards AndersTC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top