BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am creating an HTML document with an XLS extension. When the ods statement finishes, I get a dialog asking if I want to Open or Save the resulting document. How can I disable the dialog?
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
I believe this happens if you don't have a local copy of Office or if your Windows registry does not associate Excel with the file extension XLS. This will also happen if you don't have a local copy of Word (to open RTF). The fix is to change the file extension association -- as described here for RTF:
http://support.sas.com/faq/040/FAQ04022.html
http://support.sas.com/techsup/unotes/SN/009/009627.html
http://support.sas.com/techsup/unotes/SN/013/013128.html

cynthia
Olivier
Pyrite | Level 9
It also happens when SAS wants to display the results automatically. You should take a look at the TOOLS > OPTIONS > PREFERENCES menu, then the RESULTS tab, and uncheck the VIEW RESULTS AS THEY ARE GENERATED check box.
It may prevent the dialog box from openning.

Regards,
Olivier

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 2755 views
  • 1 like
  • 3 in conversation