LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default delete last line of numbers

Hi...

I import a block of text from another sheet with a simple macro but want to
delete the last line that holds numerical values. The block of data varies in
depth and the line to removed can vary say from line 20 - 8000. I need some
code that will identify when the numercial data stops and to delete the line
on which the data appears last.

Anything out there?

Cheers

Gordon.
 
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
Delete all negative numbers leaving only positive numbers Barry Walker Excel Discussion (Misc queries) 9 April 2nd 23 07:34 PM
Challenge - Excel Line Feed Character CHR(10) - How to Delete and keep the text formatting without going ro single line in a cell ? No Name Excel Worksheet Functions 7 October 7th 09 11:10 AM
Delete all but first line Danu Excel Discussion (Misc queries) 3 October 18th 07 09:42 PM
Line numbers some numbers are blue some are black nkt122866 Excel Discussion (Misc queries) 2 September 29th 05 09:32 PM
how to delete to the end of line sersi Excel Programming 0 November 10th 04 10:02 PM


All times are GMT +1. The time now is 07:45 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"