PC Review


Reply
Thread Tools Rate Thread

Conditionally put rows at the top of each page?

 
 
=?Utf-8?B?Q2luZHk=?=
Guest
Posts: n/a
 
      22nd May 2007
I have a report that is being formatted in my macros. I want to include the
heading row on all of the data, but I'd like to stop just before the Document
History.

I can find out how many rows I want the header row on top of...but I can't
seem to figure out how to limit the pages that include the PrintTtitleRows.

Is there a way to program this?

I hope this makes sense...I have this

With ActiveSheet.PageSetup
.PrintTitleRows = $1:$1
.PrintTitlecolumns = ""
End With

But I really only want that Title Row printed above the actual data (this
varies from 55 to 90 rows). After the data there is a document history
printed and I'd like for the title rows NOT to print on the History page(s).

Is this even possible? Thanks in advance.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      22nd May 2007
You would have to run separate print jobs. One for the data and one for the
Document History . . . changing the print settings between jobs.

the alternative would be to split up the information on separate sheets.

--
Regards,
Tom Ogilvy


"Cindy" wrote:

> I have a report that is being formatted in my macros. I want to include the
> heading row on all of the data, but I'd like to stop just before the Document
> History.
>
> I can find out how many rows I want the header row on top of...but I can't
> seem to figure out how to limit the pages that include the PrintTtitleRows.
>
> Is there a way to program this?
>
> I hope this makes sense...I have this
>
> With ActiveSheet.PageSetup
> .PrintTitleRows = $1:$1
> .PrintTitlecolumns = ""
> End With
>
> But I really only want that Title Row printed above the actual data (this
> varies from 55 to 90 rows). After the data there is a document history
> printed and I'd like for the title rows NOT to print on the History page(s).
>
> Is this even possible? Thanks in advance.

 
Reply With Quote
 
=?Utf-8?B?Q2luZHk=?=
Guest
Posts: n/a
 
      22nd May 2007
Thanks Tom. That's what I was afraid of. Not the easiest...but I can make
it work.

I was just hoping that there was a "magic" command that would work!

Take care,
Cindy

"Tom Ogilvy" wrote:

> You would have to run separate print jobs. One for the data and one for the
> Document History . . . changing the print settings between jobs.
>
> the alternative would be to split up the information on separate sheets.
>
> --
> Regards,
> Tom Ogilvy
>
>
> "Cindy" wrote:
>
> > I have a report that is being formatted in my macros. I want to include the
> > heading row on all of the data, but I'd like to stop just before the Document
> > History.
> >
> > I can find out how many rows I want the header row on top of...but I can't
> > seem to figure out how to limit the pages that include the PrintTtitleRows.
> >
> > Is there a way to program this?
> >
> > I hope this makes sense...I have this
> >
> > With ActiveSheet.PageSetup
> > .PrintTitleRows = $1:$1
> > .PrintTitlecolumns = ""
> > End With
> >
> > But I really only want that Title Row printed above the actual data (this
> > varies from 55 to 90 rows). After the data there is a document history
> > printed and I'd like for the title rows NOT to print on the History page(s).
> >
> > Is this even possible? Thanks in advance.

 
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
conditionally hiding rows Derrick Microsoft Excel Misc 9 20th Jun 2009 05:58 PM
Conditionally Hide Rows Crownman Microsoft Excel Discussion 1 11th Aug 2006 04:28 PM
Conditionally Select Rows =?Utf-8?B?TWF0dGFudGFsaXNz?= Microsoft Access Queries 1 23rd Dec 2005 09:59 PM
Hiding Rows Conditionally Mike Hogan Microsoft Excel Discussion 1 9th Dec 2004 08:22 PM
Hidind rows conditionally Henri Microsoft Excel Programming 3 6th Oct 2004 09:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:03 PM.