Dear Yahya,
Please try below code and see attached sheet.. Private Sub ComboBox1_Change() Sheets(ComboBox1.Value).Activate End Sub Private Sub Worksheet_SelectionChange(ByVal Target As Range) Dim sh As Worksheet For Each sh In Worksheets Sheet1.ComboBox1.AddItem (sh.Name) Next End Sub -- Thanks & regards, Noorain Ansari *http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/> *http://noorain-ansari.blogspot.com/* <http://noorain-ansari.blogspot.com/> On Mon, Nov 28, 2011 at 1:26 AM, Yahya Muhammad <yahya...@gmail.com> wrote: > Hi experts > > I have a work book which has a lot of worksheets. I have a master sheet in > the same workbook in which there is a combo box. I need this combo box to > have the names of all worksheets in the workbook. Any sheets added/deleted > in the workbook should also be auto updated in the combo box. When I > select any worksheet name from the combo box, it should take me to that > particular worksheet. Can someone help me with a solution please? > > > > > Thanks and regards > > Yahya > > -- > FORUM RULES (934+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > will not get quick attention or may not be answered. > > 2) Don't post a question in the thread of another member. > > 3) Don't post questions regarding breaking or bypassing any security > measure. > > 4) Acknowledge the responses you receive, good or bad. > > 5) Cross-promotion of, or links to, forums competitive to this forum in > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > > > ------------------------------------------------------------------------------------------------------ > To post to this group, send email to excel-macros@googlegroups.com > -- FORUM RULES (934+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com
Sample_Sheet.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12