ComboBox for selection sheet and run macro

ayazgreat

Well-known Member
Joined
Jan 19, 2008
Messages
1,151
Sir

I have got 8 sheets in a workbook having the following names first one is Main,and others are Aw,Nzm,Mhk,Gul,Qta,and Hdr.

I want a ComboBox in every sheet displaying names of all sheets in combobox and when i select a name of sheet from combobox it goes to that sheet after hidding sheet where selection was made and running macro codes which i have developed for sheet. I want only one sheet display on the screen when one selection is made other one is invisible.

Thanks in advance.

Ayazgreat
 
Sir

I mean to say that when I select a sheet name from combobox then selected sheet is visible and other one is invisible I have developed some my macro for each sheet to display " Reconcilation Result" and i want these codes to be run with your given selection codes.

Thanks
 
Upvote 0
Then use the Run statement to run whatever macro you want to run. Immediately above the last codeline
Application.ScreenUpdating = True
in the ComboBox1_Change event I just posted, insert this line, modify for whatever macro name it really is you want to run:

Run "Reconcilation Result"
 
Upvote 0
I have nothing words to say but "A bundle of thanks for you"
Looking so smart in your Picture.

Thanks
Ayazgreat
 
Upvote 0

Forum statistics

Threads
1,226,834
Messages
6,193,215
Members
453,779
Latest member
C_Rules

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