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: 1
Default Remove blank rows without hiding them


I have a column of data in a worksheet (50 rows A1:A50). At the moment
the data is hard coded i.e. A1=sheet2!ab1,B1=sheet2!ab2, etc.

Sometimes there is no data in source cells (e.g. ab15 ,ab19 etc), whic
results in many blank rows in the destination worksheet. At the momen
I am hiding the blank rows with code, which now creates a problem fo
me in extracting data into a Word doc.

Is there a way to populate the destination worksheet sheet such tha
the rows remain contiguous without any blank rows (i.e. no blank o
hidden rows?).

Any help much appreciated, please bear in mind I'm new to VBA!

Cheers,

Pete

--
peter.thompso
-----------------------------------------------------------------------
peter.thompson's Profile: http://www.excelforum.com/member.php...fo&userid=2968
View this thread: http://www.excelforum.com/showthread.php?threadid=50084

 
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
Hiding blank rows using a macro GJR3599 Excel Discussion (Misc queries) 1 March 20th 07 09:22 PM
Hiding Rows if Blank cell mohd21uk via OfficeKB.com Excel Worksheet Functions 3 April 13th 06 10:28 AM
Hiding Rows if the linked rows are blank KG Excel Discussion (Misc queries) 9 May 18th 05 02:32 AM
Hiding blank rows mlkpied Excel Discussion (Misc queries) 1 March 29th 05 08:57 PM
Hiding Rows with Zero or Blank Values Robin Excel Programming 0 July 30th 03 11:42 PM


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