John5

New Member
Joined
Jan 8, 2016
Messages
31
I have a 3 work sheet workbook
Sheet2 is Dropdown
Sheet3 is Questions
Sheet6 is Switch config

Im using this to create config for a network device by answering question on the questions sheet. I am building it so going to the other sheets wont be needed. The issue I have is I need to run Switch config macros when a change event happens on Questions. The Macros are used hide cells that are not needed based on questions. This part works but I have to go to that sheet to make a change for the macros to run. This is of course not what I want. I would prefer it to be auto so a change on Questions sheet runs macros on Switch config.

The other option is to start Switch config macros after Questions macro ends. Either way it runs the Switch config macros based on change event on Questions sheet.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Found the resolution. I moved all Macro's over to the Question sheet that runs it every time something is changed and just pointed the commands to the other sheets. Using a helper formula to achieve my intended results.

Example

Worksheets("Switch config").Rows("44:49").Hidden = (Worksheets("Dropdown").Range("A10").Value = "No")
 
Upvote 0

Forum statistics

Threads
1,217,251
Messages
6,135,483
Members
449,942
Latest member
Gitad

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top