Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 05-07-2018, 03:58 PM
macropod's Avatar
macropod macropod is offline Auto generate X pages from input Windows 7 64bit Auto generate X pages from input 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

Quote:
Originally Posted by lipatin View Post
I know, but I dont want the macro to run as soon as I open the document. Have you looked at the document I have uploaded in the #6 thread of the posts called addpages.docm and understood what I want to achieve?
Of course I did. I fail to see how what you're asking for is fundamentally different in outcome, except that your approach doesn't allow the user to nominate the starting #.

The nearest you'll get to what you've described is with something like the attached. The macro runs after you input the number into the formfield, then tab out of it. To get the numbering to update, it is necessary for that part, at least, to be in the page header.
Attached Files
File Type: docm Addpages.docm (31.6 KB, 19 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto generate X pages from input Auto-correct on existing text without input m9rbid Word 1 12-18-2017 01:20 PM
How to auto-generate whole Powerpoint presentations from a set of data? olibot2000 PowerPoint 1 06-24-2017 09:01 PM
Automatically generate formulas from just the row numbers (auto insert the column) knewman Excel 14 04-25-2017 11:54 PM
Crash after power failure. Doc is now blank and appears to auto-generate as a new doc on opening Jbobjones Word 0 04-28-2015 09:37 PM
Auto Generate Invoice Number Word 2013 Jonah245 Word VBA 3 09-04-2014 05:24 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:38 AM.


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