Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Excel VBA Grey area where cells are unused

Hi

I have a client spreadsheet where unused cells to the right are automatically grey. What causes this and how would I set up and additional sheet to act like this?

Thanks

User generated image
Avatar of Darrell Porter
Darrell Porter
Flag of United States of America image

Did you check the Conditional Formatting rules?
If you place data in one of these cells is it no longer grey?
ASKER CERTIFIED SOLUTION
Avatar of Norie
Norie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Thanks very much
If columns were hidden you wouldn't see the headers for those columns.

The sheet is in Page Break Preview mode. The Blue line indicates the Print Area.

On the View tab there are numerous options on the left hand end.
Normal - usual view with row and column headers, page break show as dotted line on the grid
Page Break Preview - Outside of the Print Area is greyed out, the page breaks show as blue lines, dotted for an automatic break, solid for a manual break. The blue lines can be dragged around to change the page breaks
Page Layout - Like a Print Preview, showing headers and footers etc.