If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > I want 1st page of my printout to have pg 3 not 1 and incr from there

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-17-09, 11:45
mikezx10 mikezx10 is offline
Registered User
 
Join Date: Oct 2003
Posts: 226
I want 1st page of my printout to have pg 3 not 1 and incr from there

I want to have custom footer and header where i can increment the page # so if the page # is 1 and i want it to be 6 (other pages from pdf are pages 1-5 how can i do this? i tried

ActiveSheet.PageSetup.CenterFooter = (IIf(blnBoard, "&B&14&P" & "+" & mynum, ""))

but i get 15 when i look at the page setup dialog i see:
&[Page]+5

how can i do this??
Reply With Quote
  #2 (permalink)  
Old 04-20-09, 04:58
Kafrin Kafrin is offline
Registered User
 
Join Date: Apr 2009
Posts: 14
On Page Setup, on the Page tab at the bottom is a box labelled "First Page Number" which defaults to Auto. If you always want it to start at 6 for this workbook (possibly worksheet, not sure), just change here and save the workbook.

If you want to be able to change the starting number in code then you need:
ActiveSheet.PageSetup.FirstPageNumber = [whatever you want it to equal]
__________________
K

Software Matters: Excel Design
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On