Mobile menu

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

Claudia Alvis  Identity Verified
Peru
Local time: 20:37
Partial member
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: 03:37
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: 03:37
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






Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »



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