Filehost.ro - gazduire fisiere
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
glamour35 Profile
Femeie
24 ani
Constanta
cauta Barbat
28 - 69 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEL] Make a Macro Available in All Excel Documents

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TonyTzu
Moderator
Postari: 252
Srouce:
https://www.financialtrainingassociates ... workbooks/

So, you created your macro and your document with the macro is open (not necessarily saved with macro-enabled features, not saved at all, it doesn't matter).

1. Go to the Developer Ribbon (in inactive, go to File - Options - Customize Ribbon and check Developer)

2. In the Developer ribbon, click on Record Macro for  the dialog to appear, and choose to Store Macro In: Personal Macro Workbook ------- THIS IS IMPORTANT and click OK

3. Go to Visual Basic editor on the Developer ribbon (or ALT + F11 to open it).

4. Copy the vba code of your macro from Module1 in your file to Module1 in the newly appeared VBAProject (PERSONAL.XLSB).

5. In Visual Basic go to File - Save PERSONAL.XLSB

6. You can close your documents and when you open a new one, macro will be available.


 
   
Pagini: 1  
Mergi la