Hello Experts,
I joined the xlsx file to ma e-mail via excel with options ATTACH= ("XXX.xlsx" content_type="application/xlsx")
Do you know please how to change the point on comma in digits without changing the parameteres of my PC ?
There is some sas options ?
Thank you for your help !
You need to provide more information.
Are you talking about whether EXCEL uses a period or a comma to represent the decimal point in a number? For example whether one and one quarter is displayed as 1,25 instead 1.25?
It should not matter how you EMAIL the file, but how you create the file.
Did you create the file using SAS? If so what code did you use?
Do you know how Excel decides which style to use for decimal point? Perhaps you need to ask on an Excel forum?
I doubt PROC EXPORT is putting any special Excel formatting instructions into the file.
In that case I would assume that the settings of the person opening the Excel file would make the choice of how numbers are displayed. You might try finding out how Excel makes the decision. Perhaps try having someone in the US open the file and someone how works in a region where comma is default and see if the file behaves differently. If they both see the same 1.25 then perhaps try changing the locale and/or language settings in the SAS session that is generating the file.
If you want more control of the Excel formatting then use ODS EXCEL and PROC PRINT to make the file. Then you can use style options to set Excel formatting.
Looks to me like it is an Excel setting.
@SASdevAnneMarie wrote:
Yes, my Excel setting is point. I’m creating the xlsx files with points. I’m asking if it is possible to create the file with comma without changing the settings.
I believe the answer is no because Excel stores the value internally always the same.
It's Excel's regional setting that drives how the value gets displayed meaning it will depend on who opens your Excel on what they will see.
Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.
Listen to the Reimagine Marketing podcast
Assess your marketing efforts with a free tool
SAS Customer Intelligence Learning Subscription (login required)
Compatibility notice re: SAS 9.4M8 (TS1M8) or later
SAS' Peter Ansbacher shows you how to use the dashboard in SAS Customer Intelligence 360 for better results.
Find more tutorials on the SAS Users YouTube channel.
Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.
Listen to the Reimagine Marketing podcast
Assess your marketing efforts with a free tool
SAS Customer Intelligence Learning Subscription (login required)
Compatibility notice re: SAS 9.4M8 (TS1M8) or later