I have made Excel record a macro of me changing a scenario.....then looking at the code it produced the following;
ActiveSheet.Scenarios("Scenario1".Show
When I try and run this pre-recorded Macro though I get the following error;
Run-Time Error '1004';
Show Method of Scenario Class failed
Can Scenarios be changed using code so that they can then be allocated to a button ? If so am I best using Form buttons or Control buttons ?
Thanks
Jamie. Thanks
Jamie
ActiveSheet.Scenarios("Scenario1".Show
When I try and run this pre-recorded Macro though I get the following error;
Run-Time Error '1004';
Show Method of Scenario Class failed
Can Scenarios be changed using code so that they can then be allocated to a button ? If so am I best using Form buttons or Control buttons ?
Thanks
Jamie. Thanks
Jamie