Solved

Trying to select cell "A3" after selecting a sheet

Posted on 2011-03-18
3
291 Views
Last Modified: 2012-05-11
After I have select a sheet based on the value of a cell in the current sheet, I want to select cell "A3" on the new sheet.

My current code is:

        Sheets(Range("AC3").Value).Select
        Range("A3").Select

But this does not change the cell selection for the new sheet.
0
Comment
Question by:jmkbrown
3 Comments
 
LVL 81

Accepted Solution

by:
byundt earned 500 total points
ID: 35165378
Try using a GoTo statement:
Application.GoTo Worksheets(Range("AC3").Value).Range("A3")

Brad
0
 

Author Comment

by:jmkbrown
ID: 35165427
This changed the selection to the correct cell, but the cell selection was off the screen.  
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35165488
Try

Sheets(Range("AC3").Value).Activate
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
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…

932 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

10 Experts available now in Live!

Get 1:1 Help Now