Getting handle to Row # dynamically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Experts,

1. I let the user select a range by foll code.

Dim Rg As Range
On Error Resume Next
Set Rg = Application.InputBox(prompt:="Select range", Type:=8)
If Rg Is Nothing Then
MsgBox "Operation Cancelled"
Else
Rg.Select
End If
2. User selects a row, for example say Row 10.
3. I want to perform a calculation on ColumnG and ColumnH of Row 10
(starting from row # 10 till end of value in columns G and H)
4. How will I get handle to column G and column H of Row 10.

Thanks in advance

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Handle to a cell (Row and Column) 1
Dynamic display 1
DELETE ROW IF 5
Insert New Row 1
Single Range for Multiple Operations 1
Hi Alllen 1
Trying to Split and delete 1
How do I split column? 3

Back
Top