![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Tulsa, OK
Posts: 354
|
How do I clear contents empty cells of a page where the empty cell are part of a range that was copied? I use End(xlUp and xlDown) in a macro and I've noticed that it doesn't choose the correct range and it's treating those copied empty cells as not being empty? Is there something I can add to my existing macro to clear the "content" of the copied empty cells?
THANKS! |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=LEN(A1)=0 in your code. |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Posts: 1,805
|
This should also help you!
http://www.mrexcel.com/board/viewtopic.php? topic=1812&forum=2 Any way you may also use find " " replace "" Eli |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Tulsa, OK
Posts: 354
|
THANKS, eliW!!
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Tulsa, OK
Posts: 354
|
THANKS, eliW!!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|