Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-20-2021, 07:09 AM
onsight onsight is offline Macro doesnt work inside textbox Windows 10 Macro doesnt work inside textbox Office 2016
Novice
Macro doesnt work inside textbox
 
Join Date: Mar 2021
Posts: 9
onsight is on a distinguished road
Default Macro doesnt work inside textbox

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
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro doesnt work inside textbox DocumentBeforePrint doesnt work Gerrit Word VBA 6 02-20-2021 08:53 AM
Macro doesnt work inside textbox 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
Macro doesnt work inside textbox Command Button doesnt work on network rmw85 Word VBA 1 04-25-2012 01:02 PM
Macro doesnt work inside textbox My Product code doesnt work!!!! PLEASE HELP dukquaknoobhack Office 1 01-05-2012 03:43 PM

Other Forums: Access Forums

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