Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-27-2023, 09:21 AM
RRB's Avatar
RRB RRB is offline Incrementing a style one number at a time Windows 11 Incrementing a style one number at a time Office 2021
Susan Flamingo
Incrementing a style one number at a time
 
Join Date: May 2014
Location: The Holy City of Jerusalem
Posts: 297
RRB is on a distinguished road
Default Incrementing a style one number at a time

Hi friends!

I was wondering if there is an *easy and elegant* way to automate this (if there isn't I just do it manually at the end)

I have text formatted (the text is simply a placeholder like"%%") with a style named styRunningNo.

I want Word to compute how many times this style is in the document for each occurrence and give it a number representing that time of occurrence.

So if there are 3 assurances to this instance it will replace %% with the number 4 and if I add another instance of that style it will replace the last instance with the number 5. etc.

Thank you all in advance!



Susan
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a number style that incorporates heading number? SDwriter Word 4 10-29-2020 12:15 PM
Custom auto incrementing integer prefixes on headers ritmo2k Word 2 03-09-2018 06:39 AM
Auto Incrementing source for data validation OfficeTemp99 Excel 1 05-13-2015 06:36 AM
Incrementing a style one number at a time Help with incrementing Spinbutton value. dlowrey Excel Programming 3 11-24-2013 12:28 PM
Incrementing a style one number at a time multiply by incrementing by 5s marynomore Excel 2 03-27-2013 05:36 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:28 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