Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2014, 05:07 PM
macropod's Avatar
macropod macropod is offline macro to automatically change things Windows 7 64bit macro to automatically change things Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

I don't get an error with that line; indeed it is unchanged from the previous version and the same line is used multiple times. I suggest you re-copy the code from my last post and use that.



As for your attachment, I see that it has 13 pages of commentary before the first chapter. Some of that content is in green italics and other content is in normal text. I really have no idea how you want all of that material formatted, because you haven't said anything that might be relevant other than what was in your last post. Moreover, the code I have written so far relies on the first paragraph containing only the name of the book - because that is how all of your previous attachments have depicted them. Your latest attachment isn't like that and I'm not sure how I could recode the macro reliably to find whatever a given book's name might be if it's not always going to be the first paragraph.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 12-15-2014, 06:12 PM
hoekman hoekman is offline macro to automatically change things Windows 8 macro to automatically change things Office 2013
hoekman
macro to automatically change things
 
Join Date: Nov 2014
Posts: 21
hoekman is on a distinguished road
Default

What comes before HOOFDSTUK. 1 is not relevant It is that they changed the structure in

<vers number="1">
<title> Toen zij nu een einde gemaakt hadden met het verdelen van het land, om zijn gebieden in bezit te nemen, gaven de kinderen Israëls een erfdeel aan Jozua, de zoon van Nun, in het midden van hen.
</title>
<content>49. Toen ze nu een eind gemaakt hadden. Tenslotte wordt hier iets meegedeeld over de dankbaarheid van het volk jegens Jozua.
Omdat hij uit eigen beweging zijn plicht vervuld had, mocht hij een bewijs van Gods genade niet van de hand wijzen, wilde hij door smadelijke verachting Diens eer niet teniet doen. Want het voorrecht dat hem geschonken werd, was niets anders dan een eenvoudig getuigenis van de hemelse kracht die door zijn hand geopenbaard was. Geen enkele vorm van eerzucht kan hier aangewezen worden, Want hij vraagt niets voor zichzelf en komt niet zomaar met zijn begeerte op de proppen; nee, de eer die God hem al verleend had, vroeg om bevestiging door de instemming van het volk. Als dat in de doofpot gestopt was, dan was het eerder een bewijs van zorgeloosheid geweest dan van bescheidenheid. Als aan het eind van het hoofdstuk herhaald wordt dat Jozua en Eleazar een eind maakten aan de verdeling van het land, dan doelt dat op het eeuwig recht op de vastgestelde grenzen, zodat de kinderen Israëls niets zouden gaan ondernemen om een onschendbaar besluit aan het wankelen te brengen. [392]
</content>
</vers>
AND AT THE END OF EVERY CHAPTER THE CODE
</hoofdstuk>
<hoofdstuk number="2">
<vers number="1">
<title>In den beginne schiep God hemel en aarde.</title>
<content>1. In etc
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
macro to automatically change things VBA Dropdown change list Entries automatically QA_Compliance_Advisor Word VBA 20 09-16-2014 07:29 AM
AutoFill- Auto Change Certain things in document? DaveWW00 Word 1 08-06-2013 11:33 AM
How to change dates automatically PaperBuster Word 5 09-24-2012 09:31 PM
Automatically change the value of one cell so that two other cells become equal matthew544 Excel 5 09-18-2011 08:56 AM
How can I change the colors of cells automatically based on Job Completion? Learner7 Excel 0 07-06-2010 10:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft