ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macro and row protection (https://www.excelbanter.com/excel-discussion-misc-queries/177079-macro-row-protection.html)

RoyG

Macro and row protection
 
I need my macro to return me to col A in the current row no matter what
column I am in. I have tried this with "Home" but when I run the Macro a
second time from another row, I return to col A in the row above the row I
was in when I ran the Macro the first time.

Secondly, I need to prevent changes to selected rows in my spreadsheet.

Any help is appreciated

Don Guillett

Macro and row protection
 
Methinks that your code could probably stand some tweaking. Why not post it
here.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"RoyG" wrote in message
...
I need my macro to return me to col A in the current row no matter what
column I am in. I have tried this with "Home" but when I run the Macro a
second time from another row, I return to col A in the row above the row I
was in when I ran the Macro the first time.

Secondly, I need to prevent changes to selected rows in my spreadsheet.

Any help is appreciated




All times are GMT +1. The time now is 11:52 AM.

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