View Single Post
 
Old 06-20-2024, 05:57 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,166
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You are asking for clearing a text box and we would need more information on how to determine which text box. It is certainly possible to do this but the macro needs to be set up with some kind of input parameters eg
Are we clearing every text box in the document
Are we clearing a specific text box (how will the macro know which text box to clear)
Are we clearing a selected text box
If you already have a button that adds a text box, wouldn't it be better to delete the text box rather than emptying it?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote