开发者

Take Textbox input and move to a specific cell.

开发者 https://www.devze.com 2023-02-11 02:58 出处:网络
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

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 o开发者_运维问答ut of the textbox and have it all pasted into a cell, A100.

The textbox is always called ActivityA.


try this

Cells(100, 1) = ActiveSheet.Shapes("NameOfYourTextBox").DrawingObject.Text
0

精彩评论

暂无评论...
验证码 换一张
取 消