A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how can i extend the printable area up to the very last row



 
 
Thread Tools Display Modes
  #1  
Old August 7th, 2008, 06:17 PM posted to microsoft.public.excel.setup
kaveh
external usenet poster
 
Posts: 22
Default how can i extend the printable area up to the very last row

how can i extend the printable area up to the very last row (i can't go
beyond 265 pages) in Page Break Preview?

  #2  
Old August 10th, 2008, 09:55 PM posted to microsoft.public.excel.setup
Barb Reinhardt
external usenet poster
 
Posts: 1,381
Default how can i extend the printable area up to the very last row

I believe there is a limit to the number of manual page breaks you can have.
(at least in 2003)
--
HTH,
Barb Reinhardt



"kaveh" wrote:

how can i extend the printable area up to the very last row (i can't go
beyond 265 pages) in Page Break Preview?

  #3  
Old August 11th, 2008, 02:01 AM posted to microsoft.public.excel.setup
Gord Dibben
external usenet poster
 
Posts: 20,252
Default how can i extend the printable area up to the very last row

Barb

OP did not have the proper print range set. Once done, was able to get all
the pages needed.

I am able to get pagebreaks for A1:A65536 range in Excel 2003.

I can find no limit other than 65536 rows.


Gord

On Sun, 10 Aug 2008 13:55:00 -0700, Barb Reinhardt
wrote:

I believe there is a limit to the number of manual page breaks you can have.
(at least in 2003)


  #4  
Old August 11th, 2008, 02:26 AM posted to microsoft.public.excel.setup
Dave Peterson
external usenet poster
 
Posts: 19,791
Default how can i extend the printable area up to the very last row

This blew up for me on the 1028th pagebreak:

Option Explicit
Sub testme()
Dim iCtr As Long

With ActiveSheet
On Error Resume Next
For iCtr = 2 To .Rows.Count
.HPageBreaks.Add befo=.Cells(iCtr, "A")
If Err.Number = 0 Then
'ok
Else
Err.Clear
MsgBox "Error with: " & iCtr & vbLf & iCtr - 1 & " worked ok"
Exit For
End If
Next iCtr
On Error GoTo 0
End With
End Sub




ps. I used xl2003.

Gord Dibben wrote:

Barb

OP did not have the proper print range set. Once done, was able to get all
the pages needed.

I am able to get pagebreaks for A1:A65536 range in Excel 2003.

I can find no limit other than 65536 rows.

Gord

On Sun, 10 Aug 2008 13:55:00 -0700, Barb Reinhardt
wrote:

I believe there is a limit to the number of manual page breaks you can have.
(at least in 2003)


--

Dave Peterson
  #5  
Old August 11th, 2008, 04:36 AM posted to microsoft.public.excel.setup
Gord Dibben
external usenet poster
 
Posts: 20,252
Default how can i extend the printable area up to the very last row

Blew up on me also.

My earlier test was manual by entering data in column A to row 65536.

Set margins to give me two rows per page.

Pagebreak preview shows 32768 pages.

This returns 32768 pages.

Sub test_pages()
totalpages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
MsgBox totalpages
End Sub

I'm not about to print out to testg


Gord

On Sun, 10 Aug 2008 20:26:27 -0500, Dave Peterson
wrote:

This blew up for me on the 1028th pagebreak:

Option Explicit
Sub testme()
Dim iCtr As Long

With ActiveSheet
On Error Resume Next
For iCtr = 2 To .Rows.Count
.HPageBreaks.Add befo=.Cells(iCtr, "A")
If Err.Number = 0 Then
'ok
Else
Err.Clear
MsgBox "Error with: " & iCtr & vbLf & iCtr - 1 & " worked ok"
Exit For
End If
Next iCtr
On Error GoTo 0
End With
End Sub




ps. I used xl2003.

Gord Dibben wrote:

Barb

OP did not have the proper print range set. Once done, was able to get all
the pages needed.

I am able to get pagebreaks for A1:A65536 range in Excel 2003.

I can find no limit other than 65536 rows.

Gord

On Sun, 10 Aug 2008 13:55:00 -0700, Barb Reinhardt
wrote:

I believe there is a limit to the number of manual page breaks you can have.
(at least in 2003)


  #6  
Old August 11th, 2008, 05:04 AM posted to microsoft.public.excel.setup
Gord Dibben
external usenet poster
 
Posts: 20,252
Default how can i extend the printable area up to the very last row

Although.......help on specs states 1000 horizontal and vertical pagebreak
limit

So..........what preview shows ain't necessarily what you will get.

Off to bed nowg


Gord

On Sun, 10 Aug 2008 20:36:41 -0700, Gord Dibben gorddibbATshawDOTca wrote:

Blew up on me also.

My earlier test was manual by entering data in column A to row 65536.

Set margins to give me two rows per page.

Pagebreak preview shows 32768 pages.

This returns 32768 pages.

Sub test_pages()
totalpages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
MsgBox totalpages
End Sub

I'm not about to print out to testg


Gord

On Sun, 10 Aug 2008 20:26:27 -0500, Dave Peterson
wrote:

This blew up for me on the 1028th pagebreak:

Option Explicit
Sub testme()
Dim iCtr As Long

With ActiveSheet
On Error Resume Next
For iCtr = 2 To .Rows.Count
.HPageBreaks.Add befo=.Cells(iCtr, "A")
If Err.Number = 0 Then
'ok
Else
Err.Clear
MsgBox "Error with: " & iCtr & vbLf & iCtr - 1 & " worked ok"
Exit For
End If
Next iCtr
On Error GoTo 0
End With
End Sub




ps. I used xl2003.

Gord Dibben wrote:

Barb

OP did not have the proper print range set. Once done, was able to get all
the pages needed.

I am able to get pagebreaks for A1:A65536 range in Excel 2003.

I can find no limit other than 65536 rows.

Gord

On Sun, 10 Aug 2008 13:55:00 -0700, Barb Reinhardt
wrote:

I believe there is a limit to the number of manual page breaks you can have.
(at least in 2003)


  #7  
Old August 11th, 2008, 04:41 PM posted to microsoft.public.excel.setup
kaveh
external usenet poster
 
Posts: 22
Default Hi Barb

Thnks for your answear

"Barb Reinhardt" wrote:

I believe there is a limit to the number of manual page breaks you can have.
(at least in 2003)
--
HTH,
Barb Reinhardt



"kaveh" wrote:

how can i extend the printable area up to the very last row (i can't go
beyond 265 pages) in Page Break Preview?

  #8  
Old August 11th, 2008, 04:42 PM posted to microsoft.public.excel.setup
kaveh
external usenet poster
 
Posts: 22
Default Hi Dave

Thank you so much.

"Dave Peterson" wrote:

This blew up for me on the 1028th pagebreak:

Option Explicit
Sub testme()
Dim iCtr As Long

With ActiveSheet
On Error Resume Next
For iCtr = 2 To .Rows.Count
.HPageBreaks.Add befo=.Cells(iCtr, "A")
If Err.Number = 0 Then
'ok
Else
Err.Clear
MsgBox "Error with: " & iCtr & vbLf & iCtr - 1 & " worked ok"
Exit For
End If
Next iCtr
On Error GoTo 0
End With
End Sub




ps. I used xl2003.

Gord Dibben wrote:

Barb

OP did not have the proper print range set. Once done, was able to get all
the pages needed.

I am able to get pagebreaks for A1:A65536 range in Excel 2003.

I can find no limit other than 65536 rows.

Gord

On Sun, 10 Aug 2008 13:55:00 -0700, Barb Reinhardt
wrote:

I believe there is a limit to the number of manual page breaks you can have.
(at least in 2003)


--

Dave Peterson

  #9  
Old August 11th, 2008, 04:42 PM posted to microsoft.public.excel.setup
kaveh
external usenet poster
 
Posts: 22
Default Hi Gord

Thanks for your answear.

"Gord Dibben" wrote:

Barb

OP did not have the proper print range set. Once done, was able to get all
the pages needed.

I am able to get pagebreaks for A1:A65536 range in Excel 2003.

I can find no limit other than 65536 rows.


Gord

On Sun, 10 Aug 2008 13:55:00 -0700, Barb Reinhardt
wrote:

I believe there is a limit to the number of manual page breaks you can have.
(at least in 2003)



 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.