BookmarkSubscribeRSS Feed
wkossack
Calcite | Level 5
I have a stored process that I'm using to output data into excel with multiple tabs

To make it simple I use a proc print with a pageby

one of the by variables has too many lines of output and I'm getting a pagebreak in the sheet. Is there any way to avoid this?
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
I do not believe that you can control the page-breaking with SAS -- once the stored process got to Excel -- every person who runs that stored process could set different page layout and printing options that would impact the place where Excel put page breaks.

Is there anyway to make your BY groups "smaller" by adding more BY variables into the BY statement???

Also, this is one of those instances where it might be useful to see your stored process code and for you to explain how you populate the multiple tabs (whether the stored process does it automatically or whether you are creating new sheets by selecting "New Sheet" in the popup window for the SAS Add-in for Microsoft Office.)

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1100 views
  • 0 likes
  • 2 in conversation