ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   I want to change a cell reference based on where the cursor is. (https://www.excelbanter.com/excel-programming/348176-i-want-change-cell-reference-based-where-cursor.html)

7redmetal

I want to change a cell reference based on where the cursor is.
 
I want to be able to change the cell reference within a macro which is in a
given cell based on where the cursor is. In short I want this cell reference
to reflect the cursor's position much like is done in the upper left of the
spread sheet.

Nick Hodge

I want to change a cell reference based on where the cursor is.
 
I hope I understand, you will get this address using

ActiveCell.Address

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"7redmetal" wrote in message
...
I want to be able to change the cell reference within a macro which is in a
given cell based on where the cursor is. In short I want this cell
reference
to reflect the cursor's position much like is done in the upper left of
the
spread sheet.





All times are GMT +1. The time now is 02:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com