Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default PrintArea setting

This is all related to a pagebreak preview issue I am having problems
with. HOWEVER

I set the PrintArea dynamically based upon a selection copied from
another sheet based upon an Autofilter from the sheet I am copying.

ActiveWorkbook.Names.Add Name:="Print_Area", RefersTo:=Selection

Stepping through everything it is fine.
I then loop through working down the sheet looking for a date and if
I find one I paste some copied formulas into the following two
rows(which may be the messy way, but it works)

Anyway I finally set the starting page all back to normal using a
custom view with some hidden columns and when I return to the page I
was outputting to, the PrintArea is changed by a few rows less (10),
the view has somehow changed to PageBreak view mode but no page breaks
show except around the edges. PageSetup come out set to 1 page wide
and 1 long.

My question is... Does the resulting page derive some page setup
settings from what was copied? Or is that preserved somewhere so I
need to eliminate it first?

This is a rewrite of a 6 year old workbook I am trying to simplify.
Thank You all,

ScottD

"So his thoughts go around in circles
until he forgets the original reason for his curiosity and is simply
lost ... "

"curiosity is insubordination in its purest form." -Nabakov
Reply
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
PrintArea rickey24[_18_] Excel Programming 1 October 7th 04 01:48 PM
PrintArea rickey24[_17_] Excel Programming 1 October 6th 04 08:04 PM
Setting printarea through range object Berend Botje[_32_] Excel Programming 8 August 3rd 04 01:23 AM
Setting PrintArea by using Named Ranges Oren Klaber Excel Programming 2 January 30th 04 10:34 PM
PRINTAREA Giacomo[_3_] Excel Programming 4 October 28th 03 10:43 PM


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

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"