Reputation: 11
I'm writing a macro to pull various data from an Excel sheet and put it in a more usable order. A problem I've run into is that one section of the data I want is contained in a textbox. I'd like to pull the data out of the textbox and have it all pasted into a cell, A100
.
The textbox is always called ActivityA
.
Upvotes: 0
Views: 2637
Reputation: 53137
try this
Cells(100, 1) = ActiveSheet.Shapes("NameOfYourTextBox").DrawingObject.Text
Upvotes: 2