PC Review


Reply
Thread Tools Rate Thread

Automatically keeping cells together when printed.

 
 
Jeremy
Guest
Posts: n/a
 
      22nd Jan 2007
Is there an option (or a simple programmatic way) to give a group of
cells an attribute that will force them to stay on the same page when
printed?

I have a sheet that essentially works as two print areas, side by side.
The first part is a data entry area, and because of the way the entry
works, I have that one all set. The second part, however, is generated
by a script that reads the data entry fields, passes the values to some
objects, and generates a report. The report varies in size and shape,
but if possible, I would like to make it so that certain parts of it
are not allowed to break across pages. The script already formats the
cells, so if there was a formatting attribute I could set, that would
be ideal. I can't find one, though. Does anyone have any other ideas?

 
Reply With Quote
 
 
 
 
Jeremy
Guest
Posts: n/a
 
      23rd Jan 2007
Giving this another shot.

It seems to me that, if there's not a sneaky way to store some kind of
readable attribute in the cells, I'm stuck either having the script
figure out which parts of the report are headings based on the
formatting or...well, I can't think of anything else that will give me
what I want. Adding a name to the cells would work in theory, but this
sheet is going to be copied literally hundreds of times, and I don't
want that many local names floating around in the workbook.

Any other ideas on a range property that is easy to set and retrieve,
unobtrusive, and won't interfere with the way the information looks?

Jeremy wrote:
> Is there an option (or a simple programmatic way) to give a group of
> cells an attribute that will force them to stay on the same page when
> printed?
>
> I have a sheet that essentially works as two print areas, side by side.
> The first part is a data entry area, and because of the way the entry
> works, I have that one all set. The second part, however, is generated
> by a script that reads the data entry fields, passes the values to some
> objects, and generates a report. The report varies in size and shape,
> but if possible, I would like to make it so that certain parts of it
> are not allowed to break across pages. The script already formats the
> cells, so if there was a formatting attribute I could set, that would
> be ideal. I can't find one, though. Does anyone have any other ideas?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically update a number when printed excelhelp Microsoft Excel Misc 1 30th Apr 2010 10:58 AM
merging cells together but keeping all data from the cells Pete C Microsoft Excel Misc 3 16th May 2008 10:14 PM
Transpose certain cells in a row while keeping other cells intact dyoung66 Microsoft Excel Programming 3 11th Mar 2007 03:18 PM
Keeping column titles for each printed page John Bordieri Microsoft Excel Discussion 2 24th Jul 2005 05:58 PM
Keeping Printed Documents Janet Microsoft Windows 2000 Printing 1 28th Apr 2004 06:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:18 PM.