Peter Muller
Board Regular
- Joined
- Oct 15, 2018
- Messages
- 133
- Office Version
- 365
- Platform
- Windows
Good afternoon,
I have a macro that does multiple tasks on different sheets in my workbook.
I have the same macro button on each sheet. When I run the macro, it does what I want it to, but my cursor does not remain on the active sheet, but jumps to a different sheet.
I am looking for code to keep the cursor on the active sheet and not jump to another.
I tried various options, but none works, e.g.,
With ActiveSheet
Range("A1").Select
End With
Please help
I have a macro that does multiple tasks on different sheets in my workbook.
I have the same macro button on each sheet. When I run the macro, it does what I want it to, but my cursor does not remain on the active sheet, but jumps to a different sheet.
I am looking for code to keep the cursor on the active sheet and not jump to another.
I tried various options, but none works, e.g.,
With ActiveSheet
Range("A1").Select
End With
Please help