![]() |
|
#1
|
|||
|
|||
|
I use this macro to change specific text, but it doesnt work, when text is inside text boxes. If text is in table cell, then macro work fine. What I must change in code, that will affect text in text boxes too, not just in table cell?
This is code: Code:
Sub Podpisi() With ActiveDocument.Content.Find .Execute FindText:="blue", ReplaceWith:="Mr." & vbCr & "Adrian Tomc", _ Format:=True, Replace:=wdReplaceAll End With End Sub |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
DocumentBeforePrint doesnt work
|
Gerrit | Word VBA | 6 | 02-20-2021 08:53 AM |
Code doesnt work properly
|
ksigcajun | Word VBA | 6 | 04-06-2015 07:41 AM |
| Safe Senders Doesnt work | Anil Kaul | Outlook | 0 | 11-16-2012 01:28 PM |
Command Button doesnt work on network
|
rmw85 | Word VBA | 1 | 04-25-2012 01:02 PM |
My Product code doesnt work!!!! PLEASE HELP
|
dukquaknoobhack | Office | 1 | 01-05-2012 03:43 PM |