Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Locating end of coloumn to add more data

I'm transferring data from different sheets to one summary sheet.

I want to add at the bottom of the list. How can I find the range position
(it would be row in my case) so I can start my counter to that value ?

tia


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Locating end of coloumn to add more data

Try something like the following:

Dim LastRow As Long
LastRow = ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Row + 1
Debug.Print LastRow


Change the "A" to whatever column is relevant.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Junkyard Engineer" wrote in
message ...
I'm transferring data from different sheets to one summary
sheet.

I want to add at the bottom of the list. How can I find the
range position (it would be row in my case) so I can start my
counter to that value ?

tia




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort one coloumn according to another coloumn on another worksheet Sunir M S[_2_] Excel Worksheet Functions 0 December 6th 09 09:59 AM
Locating and selecting Data from Worksheet Jason K[_2_] Excel Discussion (Misc queries) 2 May 29th 09 04:21 PM
How to search data in one coloumn gibbs Excel Worksheet Functions 2 February 28th 07 05:21 AM
Merging data looking up (Account) numbers in a coloumn gandhi318 Excel Worksheet Functions 0 December 29th 05 03:58 PM
locating given dates from each year in data set Papa Jonah Excel Programming 3 October 26th 04 12:11 AM


All times are GMT +1. The time now is 09:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"