toffee
asked on
EXCEL / VBA - Text Boxes and rectangles
I'm after a bit of VBA to do the following:-
I need to extract text which has been entered into a Text Box on an Excel sheet and write it into a cell.
Also on the same sheet are rectangles in which text has been written. I also need to extract this and write it to a cell.
The reason for this is a badly designed spreadsheet (not mine)which was mailed to hundreds of people for them to fill in some comments. I now have been asked to collate the results.
Many thanks in advance...
I need to extract text which has been entered into a Text Box on an Excel sheet and write it into a cell.
Also on the same sheet are rectangles in which text has been written. I also need to extract this and write it to a cell.
The reason for this is a badly designed spreadsheet (not mine)which was mailed to hundreds of people for them to fill in some comments. I now have been asked to collate the results.
Many thanks in advance...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This is the bit which worked. Many thanks.
Dim sh As Shape
Set sh = ActiveSheet.Shapes("Text Box 3")
Range("A2").Value = sh.TextFrame.Characters.Te