ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   setting where cursor is (https://www.excelbanter.com/excel-programming/351489-setting-where-cursor.html)

Native

setting where cursor is
 
hello: what code would I need to add in my macro that records where the
cursor is (eg-cell A14) when the macro button is pushed and then return
to that spot (A14 in this example) at the end of the macro.


Norman Jones

setting where cursor is
 


--
---
Regards,
Norman



"Native" wrote in message
oups.com...
hello: what code would I need to add in my macro that records where the
cursor is (eg-cell A14) when the macro button is pushed and then return
to that spot (A14 in this example) at the end of the macro.




Norman Jones

setting where cursor is
 
Hi Native

Dim Rng as Range

Set Rng = ActiveCell

'Your code

Application.GoTo Rng


---
Regards,
Norman



"Native" wrote in message
oups.com...
hello: what code would I need to add in my macro that records where the
cursor is (eg-cell A14) when the macro button is pushed and then return
to that spot (A14 in this example) at the end of the macro.





All times are GMT +1. The time now is 05:49 PM.

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