#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Find last row

I am working with a data set that constantly changes length there are
more rows each week. I am writing a macro that inserts a new column
then combines the text from two columns into the new column but I only
want the equation in rows which already have data. If I paste into all
rows it won't sort properly.

For example original data:
Fname lname
John smith
Jane Smith
John Doe
Jane Doe

Modified data
Name fname lname
Johnsmith John Smith
JaneSmith Jane Smith
JohnDoe John Doe
JaneDoe Jane Doe


What macro lines do I need if I want to paste the equation in column
Name only if there is data in column Fname.

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Find last row

See this page for a few examples
http://www.rondebruin.nl/last.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"KurtB" wrote in message ups.com...
I am working with a data set that constantly changes length there are
more rows each week. I am writing a macro that inserts a new column
then combines the text from two columns into the new column but I only
want the equation in rows which already have data. If I paste into all
rows it won't sort properly.

For example original data:
Fname lname
John smith
Jane Smith
John Doe
Jane Doe

Modified data
Name fname lname
Johnsmith John Smith
JaneSmith Jane Smith
JohnDoe John Doe
JaneDoe Jane Doe


What macro lines do I need if I want to paste the equation in column
Name only if there is data in column Fname.

Thanks!

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
where to put results of find operation in find and replace functio DEP Excel Worksheet Functions 5 November 15th 06 07:52 PM
Despite data existing in Excel 2002 spreadsheet Find doesn't find AnnieB Excel Discussion (Misc queries) 1 June 16th 06 02:15 AM
'find' somtimes can't find numbers. I folowd the 'help' instructi. Yaron Excel Worksheet Functions 2 November 30th 05 05:46 PM
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? nwtrader8 Excel Discussion (Misc queries) 5 June 21st 05 02:16 PM
find replace cursor default to find box luffa Excel Discussion (Misc queries) 0 February 3rd 05 12:11 AM


All times are GMT +1. The time now is 08:56 PM.

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

About Us

"It's about Microsoft Excel"