Solved

Trying to select cell "A3" after selecting a sheet

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
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 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 will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

813 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

17 Experts available now in Live!

Get 1:1 Help Now