J
Jack Sheet
I would like a macro that determines the extent of shrinkage that would be
achieved under three different page setups:
Setup 1: Portrait mode, shrink to 1 page
Setup 2: Landscape mode, shrink to 1 page
Setup 3: Landscape mode, shrink to 1 page wide by infinite pages high
(or very large number if infinite not possible - the manual page setup
screen does not seem to allow for infinite pages high by 1 wide).
Having idenfified these three constants I want it automatically to set the
appropriate setup according to the following rules.
Whichever of setups 1 or 2 that results in the most shrinkage (smallest
text) is discarded as inappropriate.
Of the remaining (undiscarded) page setup between 1 and 2, this is also
discarded as unsuitable if the resulting shrinkage is more than a predefined
constant (say, 60% of original size or smaller). If the shrinkage is less
(ie more than 60% of original size) then setup 3 is discarded, but it the
shrinkage is excessive we adopt setup 3.
I hope all that is clear to the reader, but I am a bit lost. Hopefully this
is not reinventing the wheel, as it seems like a useful macro that I would
regularly use in several workbooks.
Thanks for any help.
achieved under three different page setups:
Setup 1: Portrait mode, shrink to 1 page
Setup 2: Landscape mode, shrink to 1 page
Setup 3: Landscape mode, shrink to 1 page wide by infinite pages high
(or very large number if infinite not possible - the manual page setup
screen does not seem to allow for infinite pages high by 1 wide).
Having idenfified these three constants I want it automatically to set the
appropriate setup according to the following rules.
Whichever of setups 1 or 2 that results in the most shrinkage (smallest
text) is discarded as inappropriate.
Of the remaining (undiscarded) page setup between 1 and 2, this is also
discarded as unsuitable if the resulting shrinkage is more than a predefined
constant (say, 60% of original size or smaller). If the shrinkage is less
(ie more than 60% of original size) then setup 3 is discarded, but it the
shrinkage is excessive we adopt setup 3.
I hope all that is clear to the reader, but I am a bit lost. Hopefully this
is not reinventing the wheel, as it seems like a useful macro that I would
regularly use in several workbooks.
Thanks for any help.