Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using two user form list boxes to return values in two separate cells
(the cell link). I want one cell to correspond to a row, the other to a column. I want a macro button that will automatically select the cell corresponding with the values listed in the two cell links. Can anyone help? Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Is this what you want? This is for a button using the FORM toolbar which calls macro "Button1_Click": Sub Button1_Click() Dim r as long, c as Integer With Worksheets("Sheet1") r = .Range("a1") ' Link cell for first listbox - row c =. Range("b1") ' Link cell for second listbox - column . Cells(r, c).Select MsgBox ActiveCell End with End Sub HTH "nassetr" wrote: I am using two user form list boxes to return values in two separate cells (the cell link). I want one cell to correspond to a row, the other to a column. I want a macro button that will automatically select the cell corresponding with the values listed in the two cell links. Can anyone help? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Separate first and second name in one cell into separate cells. | Excel Discussion (Misc queries) | |||
Separate first and second name in one cell into separate cells. | Excel Discussion (Misc queries) | |||
Macro to various text values in cell to separate cells | Excel Programming | |||
Select an array of cells and paste to separate worksheet - 2nd post - 1st didn't work!! | Excel Programming | |||
using cell values to select range of cells | Excel Programming |