LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Conditional Page Break

Hello everyone,
I not sure if there is such a thing but here goes.

I'd like a page break each time the first 4 characters of a value changes in
Column A. To make my problem even harder for me is that there are blank
cells in Column A. Finally, to make my problem impossible for me is that the
page breaks would have to skip the final blank cell in a group and break just
below it. It's difficult to explain but I hope the example below helps
clarify what I'm saying.

Here's what I have:
A
Starke
Starke
Starke
(blank cell)
St Augstine
St Augustine
(blank cell)
St Augustine 2
St Augustine 2
(blank cell)
St Johns
St Johns
(blank cell)

Here are the desired results
A
Starke
Starke
Starke
(blank cell) with page break just below
St Augstine
St Augustine
(blank cell)
St Augustine 2
St Augustine 2
(blank cell) with page break just below
St Johns
St Johns
(blank cell) with page break just below

St Augustine and St Augustine 2 are in the same group because the first 4
characters did not change. I have to keep the blank cells intact.

Can this be done with code? Many thanks for looking,

--
Mike
Jacksonville, Florida
 
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
How do I do page breaks when view menu doesnt page break preview HeatherF55 Excel Discussion (Misc queries) 0 September 21st 07 04:24 AM
Conditional Formatting - Before Page Break Monk Excel Discussion (Misc queries) 1 July 22nd 07 04:06 AM
change and/or remove page number watermark in page break preview juga Excel Discussion (Misc queries) 2 December 25th 06 10:15 AM
Conditional page break if merged rows won't fit on the page. zbprtal Excel Worksheet Functions 1 April 12th 06 08:53 PM
adding a new page break to an existing page break Edward Letendre Excel Discussion (Misc queries) 1 March 6th 05 09:29 AM


All times are GMT +1. The time now is 12:20 AM.

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"