Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2024, 06:30 AM
kilroyscarnival kilroyscarnival is offline Word Find/Replace one field type with another? Windows 10 Word Find/Replace one field type with another? Office 2021
Expert
Word Find/Replace one field type with another?
 
Join Date: May 2019
Posts: 358
kilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nice
Default Word Find/Replace one field type with another?

Hi, just wondering whether/how it is possible to replace one field (in my case,
{AUTONUMLGL} with a {SEQ} field?

I have a template that's got the normal auto-numbering and now have to do one starting with a specific number.



Thanks,

Ann

-- Gave up and just did a lot of pasting, but would love to know for next time.

Last edited by kilroyscarnival; 05-17-2024 at 07:31 AM. Reason: updated
Reply With Quote
  #2  
Old 05-17-2024, 02:22 PM
Charles Kenyon Charles Kenyon is offline Word Find/Replace one field type with another? Windows 11 Word Find/Replace one field type with another? Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,464
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Yes.
If you have your document set to display field codes, you can run replace for what is in the field.

Replace Find: AUTONUMLGL with SEQ


I do not think this will be all that helpful, though since the fields have different switches.


vba would probably be required. For me, this would not be simple.
Reply With Quote
  #3  
Old 05-17-2024, 03:14 PM
kilroyscarnival kilroyscarnival is offline Word Find/Replace one field type with another? Windows 10 Word Find/Replace one field type with another? Office 2021
Expert
Word Find/Replace one field type with another?
 
Join Date: May 2019
Posts: 358
kilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nice
Default

Quote:
Originally Posted by Charles Kenyon View Post
Yes.
If you have your document set to display field codes, you can run replace for what is in the field.

Replace Find: AUTONUMLGL with SEQ


I do not think this will be all that helpful, though since the fields have different switches.


vba would probably be required. For me, this would not be simple.
Thanks, I’ll have to try it! After the initial SEQ with the switch giving it my starting number, the subsequent ones were all the same.
Reply With Quote
  #4  
Old 05-20-2024, 05:16 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Word Find/Replace one field type with another? Windows 11 Word Find/Replace one field type with another? Office 2021
Moderator
 
Join Date: Aug 2011
Posts: 4,005
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

You can create a SEQ field and copy it to the clipboard. Display field codes with Alt+F9 (or Alt+Fn+F9 on some keyboards).

Then search for:

^d AUTONUMLGL

and replace with:

^c


The latter represents the clipboard content.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and Replace with Field Codes mathosborne Word VBA 1 07-16-2018 03:52 PM
Word Find/Replace one field type with another? Find and replace a text with a field eduzs Word VBA 6 02-23-2018 05:19 PM
Word Find/Replace one field type with another? Find & Replace text in Field Code across multiple documents RPM7 Word VBA 6 05-12-2017 12:58 AM
Word Find/Replace one field type with another? How to type EF BB EF in MS Word find/replace box ugcheleuce Word 3 08-21-2015 03:59 PM
Replace-as-you-type in Word drosemo Word 0 09-03-2010 07:31 PM

Other Forums: Access Forums

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