I have about 40 pages in a sheet. I want to number the pages. But I want
the first two pages to have no numbers. I want the number to start as 1
on the third page. I know this sounds simple. But I cannot figure out a
way to do it. Can anyone help?--
waiteja
------------------------------------------------------------------------
waiteja's Profile: www.excelforum.com/member.php...oamp;userid=31108
View this thread: www.excelforum.com/showthread...hreadid=507856I don't have a great solution, but a workaround.
You need to make a duplicate copy of your worksheet. On the first one,
remove the page numbering, and set the print area so that only the first two
pages print, and there are no page numbers in the footer. Set the second
worksheet to print the remainder of the document, with page numbers.
quot;waitejaquot; wrote:
gt;
gt; I have about 40 pages in a sheet. I want to number the pages. But I want
gt; the first two pages to have no numbers. I want the number to start as 1
gt; on the third page. I know this sounds simple. But I cannot figure out a
gt; way to do it. Can anyone help?
gt;
gt;
gt; --
gt; waiteja
gt; ------------------------------------------------------------------------
gt; waiteja's Profile: www.excelforum.com/member.php...oamp;userid=31108
gt; View this thread: www.excelforum.com/showthread...hreadid=507856
gt;
gt;
Hi waiteja
You can use a macro to do this
Sub Test()
Dim TotPages As Long
TotPages = Application.ExecuteExcel4Macro(quot;GET.DOCUMENT(50)quot;)
With ActiveSheet.PageSetup
.LeftFooter = quot;quot;
ActiveSheet.PrintOut From:=1, To:=2
.LeftFooter = quot;amp;P-2 quot;
ActiveSheet.PrintOut From:=3, To:=TotPages
End With
End Sub
--
Regards Ron de Bruin
www.rondebruin.nlquot;waitejaquot; gt; wrote in message
...
gt;
gt; I have about 40 pages in a sheet. I want to number the pages. But I want
gt; the first two pages to have no numbers. I want the number to start as 1
gt; on the third page. I know this sounds simple. But I cannot figure out a
gt; way to do it. Can anyone help?
gt;
gt;
gt; --
gt; waiteja
gt; ------------------------------------------------------------------------
gt; waiteja's Profile: www.excelforum.com/member.php...oamp;userid=31108
gt; View this thread: www.excelforum.com/showthread...hreadid=507856
gt;
- Sep 23 Tue 2008 20:46
Page numbering question
close
全站熱搜
留言列表
發表留言