Solved

Find last used cell in column A

Posted on 2014-03-05
4
313 Views
Last Modified: 2014-03-05
This should be so simple but it's not.

I just need to find last used cell in column A

I have looked at other solution in EE but none of them seem to work for me.

Thanks
0
Comment
Question by:Jagwarman
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:regmigrant
ID: 39905925
you can use :

LastRow = Range("A1048576").End(xlUp).Row

But I would guess that you have tried that if you searched EE, can you post a sample and say what isn't working?
0
 

Author Comment

by:Jagwarman
ID: 39905936
It does not actually select the cell
0
 
LVL 19

Accepted Solution

by:
regmigrant earned 500 total points
ID: 39905940
add
range("a"& LastRow).select
0
 

Author Comment

by:Jagwarman
ID: 39905946
Excellent thanks
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

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;…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
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.

856 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