Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2018, 04:33 AM
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


With the template in the first link, you don't type anything into the document - the macro takes care of all numbering. If you let that macro run and input some appropriate values, you will see that the document will automatically have the required number of pages with the number range specified.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 05-07-2018, 06:01 AM
lipatin lipatin is offline Auto generate X pages from input Windows 7 64bit Auto generate X pages from input Office 2010 64bit
Novice
Auto generate X pages from input
 
Join Date: Apr 2018
Posts: 6
lipatin is on a distinguished road
Default

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?

Example:
If a person opens the document "addpages.docm" and clicks on the grey line "No. of Units" the macro runs and ask "how many units". The user then puts in 5, as an example, from where the macro creates 5 pages of the page "2" content in the document and updates the Unit numbering starting with Unit 1 and ending with 5.
Reply With Quote
Reply



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 02:25 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