Solved

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

Posted on 2013-12-03
4
776 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

623 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