I have a worksheet with lots of textboxes. They are part of a logic diagram. Can I access the contents of one of the text boxes using a macro ?
I tried Dim sj as string
sj=textbox1.text
but I guess this must be a bit naive.
I have a worksheet with lots of textboxes. They are part of a logic diagram. Can I access the contents of one of the text boxes using a macro ?
I tried Dim sj as string
sj=textbox1.text
but I guess this must be a bit naive.
Does your code work?
P.s Please use code tags
No, it doesn't work, it gives Run-time error 424. I wrote the following
![]()
Please Login or Register to view this content.
Last edited by dcwm; 05-12-2015 at 03:34 PM.
Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.
Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.
Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
(This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
Sorry Guys. Long time since I used this forum.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks