Another PB Macro for Word 2010

Here is yet another macro template for Word 2010
1. You will need to download the macro zip,
then extract the file L4_PB Template.dotm
and paste it into C:\Users\<userName>\AppData\Roaming\Microsoft\Templates.
2. Now if you open a NEW Word document
3. Click on My Templates.
4. In the pop-up window click on your new template (L4_PB Template.dotm)
5. Click on Document.
6. Then click on OK.
7. Now in your new document you will see a new tab Logos4 Macros. In the tab are 3 groups of macros: Milestones, DataLinks, & Fields.
8. Simply place your cursor where you want to insert your macro, then click on the macro-tag that you want inserted.
Some of the tags require you to type more text (e.g. Bible Milestone needs a Bible Reference), after the macro-tag is place in your document your cursor will be placed where you need to enter text.
Comments
-
Fantastic, thanks for this. [:)]
Win 7 x64 | Core i7 3770K | 32GB RAM | GTX 750 Ti 2GB | Crucial m4 256GB SSD (system) | Crucial m4 256GB SSD (Logos) | WD Black 1.5 TB (storage) | WD Red 3 TB x 3 (storage) | HP w2408h 24" | First F301GD Live 30"
0 -
does it work in word 2007?
Thank you anyway for doing this and sharing it!0 -
Thanks very much. not work.
show me e-sword addin ??
2 Peter 3:18 But grow in the grace and knowledge of our Lord and Savior Jesus Christ. To him be the glory both now and to the day of eternity. Amen.
0 -
-
When I load this, I see an Add Ins menu option, and when I click on it there are eSword macros. I do not see any Logos macros?
0 -
Ditto ... mine show up, but as eSword macros.
Lenovo P72: Intel 8th Gen i7-8750H 6-core, 32GB RAM, 2TB HDD + 1TB Sata SSD, 17.3" FHD 1920x1080, NVIDIA Quadro P600 4GB, Win 10 Pro
0 -
-
Steve, if you want to post a file of the macro source, I will put it in a macro file with the page generation macro I posted, and repost as a combined macro. We can see if that works for everyone? I am willing to work with it if you want to.
0 -
Dominick Sela said:
Steve, if you want to post a file of the macro source, I will put it in a macro file with the page generation macro I posted, and repost as a combined macro. We can see if that works for everyone? I am willing to work with it if you want to.
Dominick,
just open the VBA editor and copy it from there.
0 -
-
Thanks for sharing, Steve. 'Tis appreciated. Maybe Dominick will be able to combine your work with his as he suggests! [:D]
Lenovo P72: Intel 8th Gen i7-8750H 6-core, 32GB RAM, 2TB HDD + 1TB Sata SSD, 17.3" FHD 1920x1080, NVIDIA Quadro P600 4GB, Win 10 Pro
0 -
Dominick Sela said:
I opened it, but as far as I can tell there is no code in it., see attached in case I am doing something wrong. Can you just copy the code, put it in a text file, and zip it up?
Try looking under Normal, this was the location as i was building a template.
It would be of benefit to me to understand why my template was not working so that in the future i could enhance the macros. i have only had Office 2010 for about a week.
0 -
Steve:
I'm running into the same thing Dominick did. It looks like your module didn't make it into the template. I'm certain the culprits are some of Microsoft's nanny settings. I had to sacrifice a small animal just to copy your template into the template path
(Win 7)
I opened up every MS roadblock to macros that I know of, but I'm guessing there are some I don't know of. I tried in both 2010 and 2007.
I'm very eager to see your work.
Thanks
macOS (Logos Pro - Beta) | Android 13 (Logos Stable)
0 -
Robert M. Warren said:
I opened up every MS roadblock to macros that I know of, but I'm guessing there are some I don't know of. I tried in both 2010 and 2007.
I'm very eager to see your work.
i tried to add a certificate to the macros. Here is the latest file
EDIT: Ahh, read an article in MSDN, moved the macros to a new location where they say they should work (see new file below). Please let me know if they work.
0 -
does not work. still show me e-sword macro.
2 Peter 3:18 But grow in the grace and knowledge of our Lord and Savior Jesus Christ. To him be the glory both now and to the day of eternity. Amen.
0 -
Steve -
Do you know if this Macro will work with the newest Word for Mac?
macOS, iOS & iPadOS |Logs| Install
Choose Truth Over Tribe | Become a Joyful Outsider!0 -
steve clark said:Ben said:
does not work. still show me e-sword macro.
Is this with the 2nd one under my EDIT?
Does the Ribbon with the buttons for the macros show up in Word?
yes,2ed.
yes show up in word ribbon, but show me e-sword macro and does not work.
thanks
2 Peter 3:18 But grow in the grace and knowledge of our Lord and Savior Jesus Christ. To him be the glory both now and to the day of eternity. Amen.
0 -
steve clark said:
Ahh, read an article in MSDN, moved the macros to a new location where they say they should work (see new file below). Please let me know if they work.
Steve:
i still am unable to find your module in the VBA editor, and the ribbon tab still doesn't display (just the add-in tab with the e-sword buttons).
Thanks for your work; I'm sure someone will help us solve this. I know from a small amount of experience that sometimes sharing / distributing VBA macros is more challenging than developing them.
macOS (Logos Pro - Beta) | Android 13 (Logos Stable)
0 -
Steve - your latest one is empty also.
As I recall when I did my macro, you cannot put it in the Normal.dot and distribute it. It seems to me you have created the template, but it is in your normal.dot so when you distribute your custom template it is empty.
0 -
Dominick Sela said:
As I recall when I did my macro, you cannot put it in the Normal.dot and distribute it.
i have moved the macros to L4_PB Template.dotm and they are no longer in Normal.docm.
0 -
-
-
...and the eSword macros are still there per my prior image if you click on Add-Ins.
0 -
Dominick Sela said:
Here is a sample of what it looks like with the eSword macros on the ribbon, in case this helps. Note no Personal Book stuff on the ribbon:
I think these are automatic if you have eSword.
i don't see the new ribbon which has buttons attached to the macros
1. Right click in the Ribbon, when the pop-up window appears click on Customize the Ribbon.
2. Then when the customize window appears, click to check Logos4 Macros and then click OK.
3. Now the new Ribbon tab should appear in top area.
The macros should not be shown under Add-ins.
0 -
-
steve clark said:alabama24 said:
Do you know if this Macro will work with the newest Word for Mac?
ROFL....i have no idea, i fussing with getting to work with Windows...
Glad I could make you laugh. [:)]
I don't really know how Macro's work, so I didn't know if it would work with Word for Mac. I tried putting it in my template folder, but I couldn't access it. I tried opening it, and the first time I did a little rectangular box appeared with buttons (I can't remember what they said, but they were Bible related), but they didn't do anything. I can't get the box to reappear. Too bad.
macOS, iOS & iPadOS |Logs| Install
Choose Truth Over Tribe | Become a Joyful Outsider!0 -
Dominick Sela said:
Logos 4 Macros does not appear where it does for you, to select:
After searching and reading i think i figured it out.
Here is a Ribbon customization files (using Export)
If you right click on your Ribbon and select Customize the Ribbon, then in the customize window...
1. Then you can click on Import/Export and locate the extracted file above and this should add the custom ribbon that i've made. (you might want to export your ribbon settings first so that you can get back to them)
0 -
Dominick Sela said:
Logos 4 Macros does not appear where it does for you
Steve:
I, too, now see your module in VBA editor. i think the reason the ribbon tab doesn't show is that the ribbon customizations possible in W 2010 don't automatically attach to the template, like it might have in W 2003. The reason the E-sword buttons show in Add-In is because they were created for W 2000 or 2003 (probably).
There are some fairly funky VBA tricks I just Googled to that are way beyond my ability to discuss. What I'll probably do is manually add your macros to my Normal.dotm file and create my own ribbon customization for your macros, and I might get inspired to do some myself. It seems to me that the PB process screams out for more of these and I have a little experience with text-handling macros in Word. My code, however, probably wouldn't win any beauty contests [A]
EDIT: never-mind all the blather about VBA; I'll try the import procedure you posted while I was composing. Thanks.
macOS (Logos Pro - Beta) | Android 13 (Logos Stable)
0 -
Robert M. Warren said:
i think the reason the ribbon tab doesn't show is that the ribbon customizations possible in W 2010 don't automatically attach to the template,
Robert,
check the post above your last post. There is a Ribbon import file which should bring in my custom Ribbon.
0 -
alabama24 said:
I tried putting it in my template folder, but I couldn't access it. I tried opening it, and the first time I did a little rectangular box appeared with buttons (I can't remember what they said, but they were Bible related), but they didn't do anything. I can't get the box to reappear. Too bad.
Bama,
i am not sure what the Mac Word UI looks like, but if it is similar to Word 2007 or 2010 then you can get to the macros without the Ribbon buttons. It does take a couple of extra mouse clicks though.
1. Click on the View tab
2. Click on Macros and in the drop down menu click on View Macros.
3. Then you will see this pop-up macro window.
4. These are the macros that i have built for PBs. Just select the one that you want to run.
5. Then click the Run button. (before doing these you should have placed your cursor where you want the PB tagging to appear)
If your interface is more like the older versions of Word, then let me know. i also have Word 2003 which is menu driven and not tab driven. i then can give instructions on how to run the macros from it.
0 -
Robert M. Warren said:
EDIT: never-mind all the blather about VBA; I'll try the import procedure you posted while I was composing. Thanks.
Did the Import file work for you Robert?
If so, do the macro buttons Run the macros?
0 -
steve clark said:
Did the Import file work for you Robert?
If so, do the macro buttons Run the macros?
Steve:
Yes, the import file works, but it kills my Quick Access Toolbar buttons. I had made copies of both the QAT file ("Word.officeUI" in W 2010) and the ribbon customization file ("Word14.customUI" in W 2010). I thought I could use the import to get your ribbon stuff and then restore my QAT file, but when I did, it then killed your ribbon stuff. Apparently the QAT and the ribbon customizations are joined at the hip.
While I still had your buttons, I tried the Bible Milestone, and it worked. Thanks.
macOS (Logos Pro - Beta) | Android 13 (Logos Stable)
0 -
It works now, Steve, thank you!
Lenovo P72: Intel 8th Gen i7-8750H 6-core, 32GB RAM, 2TB HDD + 1TB Sata SSD, 17.3" FHD 1920x1080, NVIDIA Quadro P600 4GB, Win 10 Pro
0 -
URLs addin does not work.(logos4 and web item)
2 Peter 3:18 But grow in the grace and knowledge of our Lord and Savior Jesus Christ. To him be the glory both now and to the day of eternity. Amen.
0 -
-
i have written some instructions on how to use the macros in the PDF below.
(Ben, i think this will help you with the URLs)
EDIT: updated the above file (one URL was missing)
0 -
steve clark said:
i have written some instructions on how to use the macros in the PDF below.
(Ben, i think this will help you with the URLs)
Thanks very much!
2 Peter 3:18 But grow in the grace and knowledge of our Lord and Savior Jesus Christ. To him be the glory both now and to the day of eternity. Amen.
0 -
Hi Steve,
Yes this gets it on to the ribbon now! However, I must warn folks that doing it through an Import will delete any and all Ribbon and Quick Access customizations a user has in place with Word. If people are using Word just for Personal Book building this is not an issue, but for anyone using Word for other activities or work this may be problematic.
Note this is a bug with Word 2010 and Importing Ribbon customizations, I don't think there is a workaround for this using the Import approach.
I'll do some looking around too, to see if I can find a more installation-friendly approach. The macros look very very useful!
0 -
I think the best we can do is a workaround, but I have played with this and it works pretty well.
1. For those that have already customized their ribbon or Quick Access toolbar, first right click on the ribbon and select "Customize Ribbon".
2. Click Import/Export button
3. Select Export All customizations. Give it a name like "Original customizations"
4. Click Import/Export button, select Import Customization file. Find Steve's "Word Customizations.exportedUI" file, and select it. You have now replaced your ribbon and Quick Access with Steve's support for Personal Books.
< Do your Personal Book work here >
5. When finished - Click Import/Export button, select Import Customization File. Select the file you saved in Step 3
Now Ribbon and Quick Access toolbar are restored!
Nice job Steve on the PB customizations!
0