LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Excel 2007 PageBreaks Question

I've been using the following code in 2003 and 2007

Dim myPageBreak as Excel.HPageBreak

For Each myPageBreak In myWS.HPageBreaks
blah blah blah

next myPageBreak

On one machine with Office 2007, there are no problems (the one I have
access to). On another machine, there are problems. This particular
worksheet has 3 page breaks and if I do this
debug.print myWS.HPageBreaks.count I get 3 (on the other machine)

Has anyone seen anything like this? What do I do to address it?

Thanks,
Barb Reinhardt

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add and delete pagebreaks using Excel and C# Andy Jacobs Excel Programming 1 September 7th 06 08:35 AM
how can you change pagebreaks in excel 2007 before printing? Excel User Excel Discussion (Misc queries) 0 August 8th 06 12:18 PM
how do I remove multiple pagebreaks in an excel document in one g Annet Chabot Excel Discussion (Misc queries) 2 May 9th 06 02:13 PM
Inserting pagebreaks into an Excel Worksheet cs_vision Excel Programming 6 May 18th 05 10:32 PM
Excel pagebreaks Don Nicholson Excel Programming 0 September 15th 03 05:44 PM


All times are GMT +1. The time now is 09:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"