Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Find last cell in a specific column

Hello,
I need to paste 4 different sets of data into 1 sheet
(each set immediately following the other), and I don't
want to specifically refer to the cells to paste the
different sets into because the number of rows of data in
a set could change. I thought I would paste the first set
in, then find the last used cell in Column A, paste the
second set, find the last used cell in Column A, and so
on. My problem is I know how to find the last used cell,
but there is a formula copied down in the last column
(Col. AB). I really need to find the last used cell in
Column A, not in the entire sheet. Any help would be
greatly appreciated. Also, I'm not real slick with code,
so the more specific the better. Thanks! (Excel 2000)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Find last cell in a specific column

Hi
for column A:

--
Regards
Frank Kabel
Frankfurt, Germany


Eva Shanley wrote:
Hello,
I need to paste 4 different sets of data into 1 sheet
(each set immediately following the other), and I don't
want to specifically refer to the cells to paste the
different sets into because the number of rows of data in
a set could change. I thought I would paste the first set
in, then find the last used cell in Column A, paste the
second set, find the last used cell in Column A, and so
on. My problem is I know how to find the last used cell,
but there is a formula copied down in the last column
(Col. AB). I really need to find the last used cell in
Column A, not in the entire sheet. Any help would be
greatly appreciated. Also, I'm not real slick with code,
so the more specific the better. Thanks! (Excel 2000)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Find last cell in a specific column

Hi
for column A:
lastrow = ActiveSheet.Cells(Rows.Count, 1).End(xlUp).Row

--
Regards
Frank Kabel
Frankfurt, Germany


Eva Shanley wrote:
Hello,
I need to paste 4 different sets of data into 1 sheet
(each set immediately following the other), and I don't
want to specifically refer to the cells to paste the
different sets into because the number of rows of data in
a set could change. I thought I would paste the first set
in, then find the last used cell in Column A, paste the
second set, find the last used cell in Column A, and so
on. My problem is I know how to find the last used cell,
but there is a formula copied down in the last column
(Col. AB). I really need to find the last used cell in
Column A, not in the entire sheet. Any help would be
greatly appreciated. Also, I'm not real slick with code,
so the more specific the better. Thanks! (Excel 2000)

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
how do i find the last specific value in a column? bradsmith37 Excel Discussion (Misc queries) 9 June 23rd 20 05:22 PM
Can I find a specific value in a random column of numbers yazmaz Excel Worksheet Functions 4 April 17th 07 03:55 PM
find a specific value in a column and write another column MUSTANG Excel Discussion (Misc queries) 2 February 5th 06 09:24 AM
How can I find and sort specific data within a column? bpreas - ExcelForums.com Excel Discussion (Misc queries) 3 August 2nd 05 07:11 PM
find formula that will look up a value in a specific column and . ksgirl89 New Users to Excel 1 January 30th 05 01:33 PM


All times are GMT +1. The time now is 11:13 PM.

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"