Dan Vivid Posted February 20, 2008 Posted February 20, 2008 Hi.I've managed to set up a macro that hides the content of all text boxes inmy document by searching for each text box and setting the contents' fontcolour to white. However, it only seems to find text boxes that haven't beenformatted to 'Layout: In line with text'.Does anybody know way to search for and edit these text boxes as well as theothers?Here is the code that I am using:Sub HideAnswers()' Find each text box and set it's font colour to whiteDim aShape As ShapeFor Each aShape In ActiveDocument.ShapesIf aShape.Type = msoTextBox ThenaShape.SelectSelection.Font.Color = wdColorWhiteEnd IfNextEnd SubAny help would be really appreciated.Cheers,Dan.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now