Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How can I set the cursor selected range, from a text box, as input?
I am using the following but it only returns the ENTIRE text from the box, not my cursor selected range in the Text Box. tmpText$ = TextBox1.Text MsgBox tmpText$ |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
tmpText$ = TextBox1.SelText
-- Vasant "Pal" wrote in message news:td0Qb.127408$xy6.469903@attbi_s02... How can I set the cursor selected range, from a text box, as input? I am using the following but it only returns the ENTIRE text from the box, not my cursor selected range in the Text Box. tmpText$ = TextBox1.Text MsgBox tmpText$ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks!
I also want the value of textbox1.SelText to be updated live so it could be used with custom functions as I adjust the selected range. I created a function to show the selected string from the text box but it did not work. Function selected(tmptext As String) tmptext = TextBox1.SelText selected = tmptext End Function In cell a23 I put: +selected But it did not work. Thanks Pal "Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message ... tmpText$ = TextBox1.SelText -- Vasant "Pal" wrote in message news:td0Qb.127408$xy6.469903@attbi_s02... How can I set the cursor selected range, from a text box, as input? I am using the following but it only returns the ENTIRE text from the box, not my cursor selected range in the Text Box. tmpText$ = TextBox1.Text MsgBox tmpText$ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change the black selected-cell-border to another color (cursor) | Excel Discussion (Misc queries) | |||
HOW TO COLOR CELLS SELECTED WITH THE CURSOR | Excel Discussion (Misc queries) | |||
Save a selected range to a new text file in excel | Excel Discussion (Misc queries) | |||
Trying to highlight (bold,red) selected text within range | Excel Discussion (Misc queries) | |||
Default cursor/selected cell position after protecting | Excel Worksheet Functions |