Solved

VBA to go to another worksheet in same workbook via command button

Posted on 2013-12-03
4
587 Views
Last Modified: 2013-12-03
Folks,
Another senior moment in paradise. What is the code for a command button that takes me to anoter worksheets I forgot.....
0
Comment
Question by:Frank Freese
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 250 total points
Comment Utility
worksheets("____").select

or

worksheets("____").activate
0
 
LVL 15

Assisted Solution

by:JimFive
JimFive earned 250 total points
Comment Utility
ActiveWorkbook.Worksheets("WorksheetName").Activate
0
 

Author Comment

by:Frank Freese
Comment Utility
great - two good solutions to help this ole man out! I am very grateful
0
 

Author Closing Comment

by:Frank Freese
Comment Utility
great job! thanks a lot. Both solutions got me what I needed
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now