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 / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Unpopulated Cell Address

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mick Smith - 18 Jul 2007 21:52 GMT
Hi
I'm a newbie and was wondering can anyone help with my query.
I am trying to find out how to print a spreadsheet with just the data that
is contained in certain cell address's.

Where a cell address is not populated I want the whole row to not appear in
a printed copy.

Any ideas?
Don Guillett - 18 Jul 2007 23:42 GMT
Try this idea

Sub hiderowsandprint()
With Range("a1:a21")
 .SpecialCells(xlCellTypeBlanks).Rows.Hidden = True
 .Resize(21, 8).PrintPreview
 .Rows.Hidden = False
End With
End Sub
Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> Hi
> I'm a newbie and was wondering can anyone help with my query.
[quoted text clipped - 6 lines]
>
> Any ideas?

Rate this thread:






 
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.