BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I've retained leading zeroes for Excel output via ODS HTML using

... htmlstyle='vnd.ms-excel.numberformat:@' ...

Is there a similar TAGATTR attribute for ExcelXP?
4 REPLIES 4
Eric_SAS
SAS Employee
you can use

tagattr="format: @"

When you do that, the type will also be changed from number, to string.

This only works in the latest versions of the tagset. The newest version will be available later today. it's worth waiting for because it fixes a couple of bugs reported by Jack earlier this week.
deleted_user
Not applicable
Thanks, Eric. I'll look for that update.
deleted_user
Not applicable
> The new tagset is now on the web...
>
> http://support.sas.com/rnd/base/topics/odsmarkup/exclt
> gs.tpl

This URL doesn't work - it goes to a 404 page( SAS page that says "We're sorry. We couldn't find your document"). You need to add a final l to the link to get there (the Forum software is truncating it - I tried to post a corrected link and Preview showed that mine was truncated, too).

Steve Raimi

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 979 views
  • 0 likes
  • 2 in conversation