![]() |
![]() |
|
|||||||
| 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 |
|
New Member
Join Date: May 2002
Posts: 11
|
Hi Folks
Great site, lots of useful stuff. I am looking for some advice on VBA. I have written a script to transfer information from a set of cells to a new worksheet and then protect and hide, but i need the code to stop if it finds that any of the cells that it should be transferring are empty. Any ideas.. Pllleeeeaaaseeeee Nat |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
cells to copy via a Loop ?? Loops can be slow. Instead, consider filtering out the empty cells before coping ie. Applying a filter Copy then paste. Easiest way to do this is to Turn your macro recorder on and do the steps. Have a look @ the code.....Post if you get stuck. |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|