Hi Steve
Thanks again for the macros etc. Have run into one problem with a macro security message in Word 2010. Says the macro cannot be found or has been disabled because of your macro security settings. Have checked in Word 2010 & all my macro settings in Options/Trust Centre\trust centre settings are enabled. Is there something I'm missing here? Kind regards, Gerald
PB macros for Word 2010 & 2007
Here are some macros which will assist you when building a Personal Book (PB) in Word. Please follow the steps when installing them.
below is a link to a short demo of the macros (my screen recorder does not show pop-up windows that Logos shows, so as i am moving in the later part of the video in the PB i am hovering over links and L4 is showing them but the video does not show them)
(The video below may not work inside the forum, but if you right click on the video below and click on Open in a new tab, it will open in a new tab in your browser and play)
[View:http://www.clark-tx.net/temp/Macro demo.wmv:550:0]
Below is the ZIP file which contains the macro template and a few other files as describe a little further down)
One of the files inside of the Zip is Adding the macros to Word.pdf. It is instructions on how to add the macro template to Word.
Also in this document are instructions on how add the Custom Ribbon with the Logos4 Macros Tab (see below). On this tab are buttons which tie to each of the macros.
This custom tab does not work in Word 2007, but you can look on Microsoft's site for instructions on add command to you Quick Link bar and there add the macros one at a time to your Quick Link bar.
And finally in the Zip is a PDF file L4 PB Macro Template Information.pdf which has information on each of the macros.
I have Word 2003 as well, but i have not made a PDF on how to install it (perhaps later i will do that).
Find more posts tagged with
Comments
- You didn't click on the Enable in the yellow bar when you opened the macro file.
[this is not the usual way to use the macros. We don't usually open the macro template file itself]. - Or you have a document (docx) which you opened that was not made with the macro file as a template. In this case you can enable the macro for your docx by:
- Click on File in the menu, then click on Options in the drop down menu (close to the bottom)
- When the options window opens, click on Customize Ribbon
- Then on the right side click to check Developer.
- Now in Word click on the Developer tab
- Then in it's ribbon click on Document Template button
- Then in the window that pops up click on Add and locate your macro file
(from here on out Word should remember the location) - Click to check the macro file.
- Now click on OK button.
(the macros will now work in your docx. Word has us do this because we did not create the docx using the template.)
- L4_PB Macros.dotm (the actual macro file to be used with Word)
- L4_PB_Macro_Tab.exportedUI (the UI [user interface] file which you use to add the ribbon tools to Word)
(right-click on this link and use SAVE LINK AS to download this file)
(Read the Adding the macros to Word PDF, if you already have Add-ins in Word, doing this could destroy those Add-ins!!!)
- Adding the macros to Word.pdf (older doc which shows you the steps to installing the macros into Word)
- L4 PB Macro Template Information.pdf (older doc which tells you how to use the macros [limited, it doesn't teach you how each PBB tools works, see the forum wiki page for this or ask questions on the forum)
I am unable to add the L4_PB_Macro_Tab.exportedUI into my Word 2007. When I right click on the ribbon and select customize the Quick Access Toolbar, there is no option to customize the ribbon, the pop-up window has no button to click to import the tab file.
How can I get Word to import this Tab file?
I am unable to add the L4_PB_Macro_Tab.exportedUI into my Word 2007. When I right click on the ribbon and select customize the Quick Access Toolbar, there is no option to customize the ribbon, the pop-up window has no button to click to import the tab file.
How can I get Word to import this Tab file?
You are correct. The macros will load and work in Word 2007, but the UI (user interface ribbon) will not. But you can manually add each macro to the toolbar. If you search Microsoft's website on adding commands to the Toolbar, then you can add each of the macros as a separate command on your toolbar. Since i don't have Word 2007, i cannot show you how to do this. Once i connected remotely to someone's computer and did this a long time ago. They had Word 2007.
I downloaded the file and think you did an awesome job.
I experience a problem on the "Verse Fragments" , when I use it on 1 Tim 1:2 the result is as follow: [[1 Tim 2:3 >> 1 Tim 12:3]]. I could fixed it by adding the following in your code:
Public Function ExtractChapterVerse(src As String, ByRef dest() As String) As Boolean
Dim i As Integer, ch As String, s1 As String, s2 As String
Dim ColonPos As Long, vSrc As String, Fnd As Boolean
'does NOT handle comma separated verses or chapters
Fnd = False
ColonPos = InStr(src, ":")
'presume the absence of a colon to be a Verse only
If ColonPos > 1 Then
s1 = ""
For i = 1 To IIf(ColonPos < 1, Len(src), ColonPos - 1)
ch = Mid(src, i, 1)
If IsNumeric(ch) = True Then
If ch = Left$(src, 1) Then
ch = " "
End If
s1 = s1 & ch
End If
Next i
If s1 <> "" Then
Fnd = True
End If
vSrc = Mid(src, ColonPos + 1)
Else
vSrc = src
End If
Hi Jacob,
Welcome to the forum!
Nice find and fix!
Your change will work most of the time, but if there is a leading space or something else before the number and the book name, then your fix will fail. (e.g. 'see 1 Tim 2:3')
Try changing the code to what is shown below. This should fix the problem you found and handle the case which i mentioned above.
'presume the absence of a colon to be a Verse only
If ColonPos > 1 Then
s1 = ""
For i = 1 To IIf(ColonPos < 1, Len(src), ColonPos - 1)
ch = Mid(src, i, 1)
If IsNumeric(ch) = True Then
s1 = s1 & ch
ElseIf ch >= "A" And ch <= "z" Then
s1 = ""
End If
Next i
If s1 <> "" Then
Fnd = True
End If
vSrc = Mid(src, ColonPos + 1)
Else
vSrc = src
End If
Thanks again for reporting this!!!
If you already have added my macros earlier you will need to follow the steps in the attached PDF Adding the macros to Word again to: add the macro & add the new Tab. Also the Macro Information PDF has been updated which tells you how to use it.
Update to the Macro for Word 2010.
Added new macro to insert Sermon table
Download --> L4_PB_Macro_Tab (Oct 27, 2012).zip
Edit: For instructions on how to install these macros & UI, please watch this video:
(you will need the current Flash plug-in for your browser)
Installing L4 Macros into Word
========================Views from Word 2010=====================================
(click on image for larger view)
========================View of Custom Ribbon in Word 2010=======================
Before updating your Word 2010 with the included UI (User Interface):
(Please read the Adding the macros to Word.pdf found in the zip)
If you already have Quickaccess tools or a Custom Ribbon, then you may want to manually add the
L4 Macros Ribbon so that you don't loose your current settings.
(click for larger view)
bump for those not on the forum this weekend
See this prior post for updated PB Macros
Won't let me use the macros. Word says:
Macro cannot be found or has been disabled because of your macro security settings.
HELP! Thanks in advance!
Hi David,
Macro cannot be found or has been disabled because of your macro security settings.
two possibilities come to mind:
Steve,
Thanks for the reply, I had tried both of those but neither have worked. Any thoughts?
Hi David,
I just migrated to Word 2013 working with Win8. Have your macros been tested on this platform?
Not that i am aware of. i will be very interested to hear you results!
i would be surprised if the macros did not work in Word 2013. But i have no idea what Win8 will do, but since all the macros work inside of Word then Win8 should be inconsequential.
Hi David,
I just migrated to Word 2013 working with Win8. Have your macros been tested on this platform?Not that i am aware of. I will be very interested to hear you results!
i would be surprised if the macros did not work in Word 2013. But i have no idea what Win8 will do, but since all the macros work inside of Word then Win8 should be inconsequential.
Well... I tried to install them this morning on Word 2013... You have to turn on the "developer" tab to see macros at all in 2013. I can see (and run) the macros there... What I did was to add the macros manually directly to a custom tab group through "customize the ribbon;" They seem to work fine from there. It took a bit of work and fooling around to get them to work because the macro interface is so different betweeen 2010 and 2013.
Russ
Hi Ed,
Will this macro work with L5?
Yes it will, since the macro works inside of Microsoft Word and you will use the Word file with L5. So L5 doesn't care about the macro. The macro does all its work inside of Word.
Also, will it work with Mac Word 2011?
I don't have a Mac and therefore don't have Mac Word. But early on a user got the actual macros to work inside of Mac Word 2010 (see his posts Here and here). He never replied to let us know if he found a way for the GUI (graphical user interface) for the ribbon to work in Mac Word. But i suspect that you could add multiple commands for the set of macros to the 'Quick Access Toolbar' if the ribbon GUI doesn't work.
Also i would strongly suggest that you download the macros from this post to get the latest ones which also support Sermon Tables macros. Please pay attention to the instruction which are included inside the ZIP and video tutorial.
I had read about this a long time ago and finally implemented it, which is fantastic.
One question though - I have a template I use for writing my messages with some specific styles and page formatting. Is it possible to copy the macros into that template so they are automatically there when I start writing my messages based off that existing style/layout template?
One question though - I have a template I use for writing my messages with some specific styles and page formatting. Is it possible to copy the macros into that template so they are automatically there when I start writing my messages based off that existing style/layout template?
i think you can do this by editing your Template (as shown below)
1. Open Word and edit the template that you want the PB macros to work with
2. Select the Developer's Tab
(if you don't see the Developer's tab, you will need to edit the ribbon)
a. right-click on a blank area of the Ribbon
b. in the popup, click on Customize the Ribbon...
c. on the right side of the customize window, click to check Developer and then click OK.
3. Click on Document Template icon (this opens a window as shown below the arrow in first image)
4. Locate the PB Macros item and check it, then click OK. (if you don't see it in the list use the Add button on the right)
You will need to Save and exit your editing session for the Template. Then when you open a new Word doc and use your template, i think it should work and include the PB macros.
Do these work in Office 2013?
By Office 2013, i guess you imply Word 2013 (the macros were written for Word docx's as that is what PBs requires)
The macros definitely should work, they are written in VBA
And i am guessing that the UI-ribbon probably works similar in Word 2013, so it should work too.
(even if the UI-Ribbon didn't work, you could attach toolbar commands to each macro)
Somewhere in this very long thread are instructions (they were attached as a PDF)
You have to turn on the "developer" tab to see macros at all in 2013. I can see (and run) the macros there
I'm able to see the title of the template that I saved as instructed but "run" is grey and there are no macros showing in the dialog list
Can any one who has this running in Word 2013 give me any pointers? I basically bought Word so I could use Macros. Previously I just used openoffice and libreoffice, so I would really love to get this working. Thanks in advance!
Logos 10 | Dell Inspiron 7373 | Windows 11 Pro 64, i7, 16GB, SSD | iPhone 13 Pro Max
This is not really a reply, but a question. I could not find where to post a new thought.
I am using the macros in Word 2013. Most of the time no problem. But lately I have been running into a problem with the next page macro where it stops on page 3 and will not go further. No problem is a small document but if it is a large one it is not feasible to hand add each page # so PBB sees it as a page #.
Can someone advise what is the problem?
Thanks.
i have placed the most recent files for L4Macros on my host server (links are below). These were build in Oct 27, 2012.
Or here is the zipped file: L4_PB_Macro_Tab (Oct 27, 2012).zip
Did this after helping a forum member get the macros running on Office 2016
In the above reply (see Edit2 in that reply), i gave instruction on adding a Devotional macro to the L4 Macros ribbon. (that macro was already in the old macro file that i built, but wasn't added because i had not updated the User Manual (which is still not update)).
There are so few responses about my macros that i have not further supported new changes.
P.S.
If you want your L4 Macros tab always visible in all Word documents then save the template file L4_PB Macros.dotm in the folder:C:\Users\Your User Name\AppData\Roaming\Microsoft\Word\STARTUP
This saves you from having to check the checkbox for this template every time you open a Word document to get the macros working after opening that document.
If you have already placed the macro file in C:\Users\Your User Name\AppData\Roaming\Microsoft\Templates, then you will need to delete this macro file (L4_PB Macros.dotm).
There are so few responses about my macros that i have not further supported new changes.
That's disappointing, but I may know a reason.
If someone who can use these macros could post a short instructional video of using them in a Word doc, I think a LOT more folks would jump on the option. I remember installing them back in about 2012, and I struggled to know how to use them, and kind of gave up after I updated to office 2010 (yea, I'm slow) later that year.
I don't think I know them well enough to make a video, but if someone would do that, and post a link on this thread, these might take off again. I certainly see no less interest in the PB feature from users, and these ideally make that process faster and easier.
Eating a steady diet of government cheese, and living in a van down by the river.
I love the next page macro. But now it seems to have disappeared and when I delete and add the logos 4 macros it is not there.
What did I do? HELP!!!
Hi James,
I love the next page macro. But now it seems to have disappeared and when I delete and add the logos 4 macros it is not there.
What did I do? HELP!!!
the Logos4 macros that i built does not have a Next Page macro. So i am guessing that you got it from somewhere else. Perhaps you can email me and i can more clearly understand your problem. (admin [AT] clark-tx [DOT] net)
This is for Word 2010.
Assumptions:
1. You have the L4 macro dotm in a trusted location [Trust Center | Trust Center Settings | Trusted Locations] (not sure how important this is)
2. You have the Developer tab enabled. [File | Options | Customize Ribbon --> Add "Developer"]
Then you can add the macros as indicated below.
Sascha,
Gao's instructions should work.
Or did you try the instruction on this post above (the P.S. section), it should also keep the macros visible.
I found the problem. I had to uninstall and reinstall the NewMacros macro. It is in there.
It makes it easy to paginate an entire document in minutes depending on the speed of your pc, RAM, etc.
Thanks.
Bro. James
With regret I'm posting this link to another thread from Steve's son, Josh.
https://community.logos.com/forums/t/127178.aspx?PageIndex=1
Steve contributed a tremendous amount to the Logos community and will be greatly missed. This particular thread, which has been active for more than five years, is prime evidence of his valued input. He is someone with whom I'd like to have visited over a cup of coffee.
Please pray for his family.
Eating a steady diet of government cheese, and living in a van down by the river.
Are you the one who did the NewMacros also. I have had them disappear on me again after my computer died and I had to rebuilt from scratch as it were.
I miss this macro. It is very beneficial, at least to me.
It has a next page macro that will number your whole document in minutes.
Someone PLEASE HELP!!!!
Here's my current macro collection, the IMAGES ones are under construction
- their use may vary:
No GUI like Steve's the one you are referring to I believe is was modified by myself from the original in my macros is called: TOC_SET_PAGENUMBERS.
Never Deprive Anyone of Hope.. It Might Be ALL They Have
Please be careful when you download and use Word documents containing macros. Cybercriminals use macros to install malware and ransomware on victims computers https://malwareless.com/word-doc-file-spreads-malware-attacking-windows-os-mac-os-x/