ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   I want a macro to run anywhere on a spreadsheet, based on cursor (https://www.excelbanter.com/excel-discussion-misc-queries/236045-i-want-macro-run-anywhere-spreadsheet-based-cursor.html)

KevinS56

I want a macro to run anywhere on a spreadsheet, based on cursor
 
I have a simple macro, and I need to run it in different parts of my
spreadsheet. I'd like to place my cursor, then run the macro. Is there a way
to do that?

Jacob Skaria

I want a macro to run anywhere on a spreadsheet, based on cursor
 
Hi Kevin

You havent posted the macro or mentioned what to achieve..However for your
question it is possible by referring the ActiveWorkbook, ActiveSheet,
ActiveCell etc; ...

If this post helps click Yes
---------------
Jacob Skaria


"KevinS56" wrote:

I have a simple macro, and I need to run it in different parts of my
spreadsheet. I'd like to place my cursor, then run the macro. Is there a way
to do that?



All times are GMT +1. The time now is 06:04 AM.

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