Home |
Search |
Today's Posts |
#10
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Oggy,
One final thing, then i promise to leave you alone, When i pull in the address i get the carriage return characters, how do i get rid of them? Try: '============= Private Sub CommandButton1_Click() Dim SH As Worksheet Dim destRng As Range Set SH = ThisWorkbook.Sheets("Sheet1") '<<=== CHANGE Set destRng = SH.Range("A" & Rows.Count).End(xlUp)(2) With Me.ListBox1 destRng.Value = .List(.ListIndex, 0) destRng(1, 2).Value = _ Replace(.List(.ListIndex, 1), Chr(13), "", 1) destRng(1, 3).Value = _ Replace(.List(.ListIndex, 2), Chr(13), "", 1) End With End Sub '<<============= --- Regards, Norman |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Use Combo Box to Select Month to Display Data on Chart | Charts and Charting in Excel | |||
Combo Box Display | Excel Discussion (Misc queries) | |||
Display info in Combo box'es | Excel Programming | |||
Display value linked to Combo Box Selection | Excel Programming | |||
Display values in combo box | Excel Programming |