Solved

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

Posted on 2013-12-03
4
699 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 43

Accepted Solution

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

or

worksheets("____").activate
0
 
LVL 15

Assisted Solution

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

Author Comment

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

Author Closing Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associateā€¦
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calculā€¦
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

740 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