Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
RefEdit control
Hi,
I'm trying to use the RefEdit control on a userform to select a range on a worksheet to paste the contents of a text box to. on pressing the refedit button it navigates to a different sheet in the same workbook (which is what i want), producing a value of 'Lab Request'!$C$8 which is fine, thats where i want to data to go, but i can't work out how to tell vb to put the contents of textbox2 to that cell reference... i can normally work this sort of thing out, but not this time - something tells me its really easy. tia, tim |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
RefEdit control
verry simple version this is the modual behind a user
form with a textbox, refedit box and a comand butten have fun Private Sub CommandButton1_Click() Dim R As Range Set R = Range(RefEdit1.Value) R.Value = TextBox1.Value End Sub -----Original Message----- Hi, I'm trying to use the RefEdit control on a userform to select a range on a worksheet to paste the contents of a text box to. on pressing the refedit button it navigates to a different sheet in the same workbook (which is what i want), producing a value of 'Lab Request'!$C$8 which is fine, thats where i want to data to go, but i can't work out how to tell vb to put the contents of textbox2 to that cell reference... i can normally work this sort of thing out, but not this time - something tells me its really easy. tia, tim . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
RefEdit control
works like a dream - cheers!
"steve" wrote in message ... verry simple version this is the modual behind a user form with a textbox, refedit box and a comand butten have fun Private Sub CommandButton1_Click() Dim R As Range Set R = Range(RefEdit1.Value) R.Value = TextBox1.Value End Sub -----Original Message----- Hi, I'm trying to use the RefEdit control on a userform to select a range on a worksheet to paste the contents of a text box to. on pressing the refedit button it navigates to a different sheet in the same workbook (which is what i want), producing a value of 'Lab Request'!$C$8 which is fine, thats where i want to data to go, but i can't work out how to tell vb to put the contents of textbox2 to that cell reference... i can normally work this sort of thing out, but not this time - something tells me its really easy. tia, tim . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Selecting dates from ListBoxes by using RefEdit Control | Excel Programming | |||
Help: Looking for the replacement of RefEdit control | Excel Programming | |||
Shift-Control Arrow and RefEdit Control? | Excel Programming | |||
RefEdit | Excel Programming | |||
RefEdit control bug | Excel Programming |