Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Clear All from last row of data down

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JohnUK - 12 May 2008 13:39 GMT
Hi,
Every time I copy and paste values from one workbook to another, I end up
overinflating the size of the second file considerably. The data from the
first workbook is filtered, and when I copy, I copy the columns. For some
reason, it picks up something from the blanks in the first workbook and
copies into the second, even though I paste values?? (I have even tried Clear
All from the blanks of the first file)
I just need a piece of code that finds the last row of data, and ‘clears
all’ below that row.
Many thanks for help
Regards
John
Norman Jones - 12 May 2008 13:57 GMT
Hi John,

See Debra Dalglish's page on resetting
the used range:

       http://www.contextures.com/xlfaqApp.html#Unused

See particularly the section entitled:

       To programatically reset the used range

and try the DeleteUnused procedure.

---
Regards.
Norman

> Hi,
> Every time I copy and paste values from one workbook to another, I end up
[quoted text clipped - 9 lines]
> Regards
> John
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.