What's the best way to backup MS-Office's macros?
Thread poster: Claudia Alvis

Claudia Alvis  Identity Verified
Peru
Local time: 02:22
Spanish
+ ...
Nov 26, 2008

For the nth time this year, I managed to lose all my macros and my macros toolbars from Word 2003.

I'm not an advanced user by any means, so when I add a new macros I either record it or use Visual Basic, and let Word decide where to save it. So some of them are saved in the Normal template and some aren't or disappear from it. I also tried to copy all the macros from Normal > Modules to the Notepad and then paste it when they disappear, but the macros in the Normal template aren't the only ones I have.

Is there a better way? Or a tool that can manage Office 2003 Macros? Thanks.

Claudia

PS. Office sucks!


Direct link Reply with quote
 

Piotr Bienkowski  Identity Verified
Poland
Local time: 09:22
Member (2005)
English to Polish
+ ...
Backup your normal.dot or export them to *.bas file Nov 26, 2008

Claudia Alvis wrote:

For the nth time this year, I managed to lose all my macros and my macros toolbars from Word 2003.

I'm not an advanced user by any means, so when I add a new macros I either record it or use Visual Basic, and let Word decide where to save it. So some of them are saved in the Normal template and some aren't or disappear from it. I also tried to copy all the macros from Normal > Modules to the Notepad and then paste it when they disappear, but the macros in the Normal template aren't the only ones I have.

Is there a better way? Or a tool that can manage Office 2003 Macros? Thanks.

Claudia

PS. Office sucks!


Hi Claudia,

You may have somehow stored some of them or recorded some of them in your current document instead of the Normal template. If you go to the VBA editor (Alt+F11), you will see several projects in the top left corner. Each project corresponds to an open document or a loaded template.

If there are macros in the project, it has an item called Module1 or similar. You can export macros from a module to a *bas file or import a *.bas file with VBA macros into it.

Hope this helps.

Piotr


Direct link Reply with quote
 

Antoní­n Otáhal
Local time: 09:22
Member (2005)
English to Czech
+ ...
Saving VBA code Nov 26, 2008

You can decide where your macros will be saved. When you create them, choose the module where you want them (Perhaps keeping them in NewMacros module under Normal.dot is OK for you? It depends on how many macros you have and what system you want to adopt for them). I keep them all in different modules in Normal dot and back up the Normal.dot about once a month. I find this way the easiest.

Alternatively, all your macros are in modules. When you open the VBA editor, right-click a module in the Project window (it is in the upper left corner in the default layout), you get an option to "Export file..." and save as a .bas file. Right-clicking the Project window in the VBA editor you get an option "Import file..." and can import modules.

Actually, I definitely am not in love with MS Office, but it is not so bad after all. VBA for Word is one of its best features (IMHO).

Antonin


Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

What's the best way to backup MS-Office's macros?

Advanced search






Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »
LSP.expert
You’re a freelance translator? LSP.expert helps you manage your daily translation jobs. It’s easy, fast and secure.

How about you start tracking translation jobs and sending invoices in minutes? You can also manage your clients and generate reports about your business activities. So you always keep a clear view on your planning, AND you get a free 30 day trial period!

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search