Hi All,
Another stumbling block on my road to VBA proficiency! This is a weird one.
I'm currently stuck trying to run a macro sheet 2 from sheet 1. I only want the macro to execute in sheet 2 (sheet 1 should stay unaffected). Furthermore, when I run the macro, I want to remain on the active sheet (sheet 1) and not be taken to sheet 2 when i run this macro.
I'm using the call feature to run my macros at the moment to save time and current using the following in sheet 1 (super simple);
Is there a better way to do this?
Kind regards,
Jeevz
Another stumbling block on my road to VBA proficiency! This is a weird one.
I'm currently stuck trying to run a macro sheet 2 from sheet 1. I only want the macro to execute in sheet 2 (sheet 1 should stay unaffected). Furthermore, when I run the macro, I want to remain on the active sheet (sheet 1) and not be taken to sheet 2 when i run this macro.
I'm using the call feature to run my macros at the moment to save time and current using the following in sheet 1 (super simple);
VBA Code:
Sub run_macro_in_sheet2()
Sheets("Sheet 2").Select
Call Do_All (name of macro)
End Sub
Is there a better way to do this?
Kind regards,
Jeevz