Solved

Trying to select cell "A3" after selecting a sheet

Posted on 2011-03-18
3
290 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 80

Accepted Solution

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

Brad
0
 

Author Comment

by:jmkbrown
Comment Utility
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
Comment Utility
Try

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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

772 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