|
-
Apr 8th, 2006, 05:15 AM
#1
Thread Starter
Lively Member
autocorrect replace for all
I am new to word's autocorrect procedure.
I can set my autocorrect entry called LBL1 :
Appword.Autocorrect.Entries.AddRichText "LBL1", Appword.selection.range
This works only when i type LBL1 in the document myself, but wat i want
is following. I have an open document which contains several LBL1 texts.
Can i autocorrect all LBL1's through code in one go, instead of having to press enter or space behind every LBL1 myself??
Many thx for helping me out.
-
Apr 8th, 2006, 05:51 AM
#2
Lively Member
Re: autocorrect replace for all
This can be done using Word's find and replace by pressing Ctrl+F, then selecting the replace tab. If it has to be done via code, you can simply record a Macro of the above manual procedure.
Last edited by New2vba; Apr 8th, 2006 at 06:00 AM.
"Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )
-
Apr 8th, 2006, 06:23 AM
#3
Thread Starter
Lively Member
Re: autocorrect replace for all
HUm, thing is the rangecontent contains text and images. So thats way i wanted to use autocorrect, i think a normal find and replace only replaces text and no images?!
-
Apr 8th, 2006, 10:47 AM
#4
Lively Member
Re: autocorrect replace for all
Find and repalce can also be used to replace graphics. Simply select "special" from the options at the bottom of the find and replace window. I have never used this so don't know if it will help, but it's perhaps worth a try.
"Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )
-
Apr 8th, 2006, 12:42 PM
#5
Thread Starter
Lively Member
Re: autocorrect replace for all
Thx for info, i did look into that.
You can find for a graphic
Word willl show a ^g in the find box and wel focus the first graphic it finds
, but thats that. replacing a graphic is not directly possible replace hasn't got the graphic option and surely i did not find a way tot find and replace text and praphics in one go. Probably Autocorrect isn't the way to go but i am looking into all posibilities.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|