BookmarkSubscribeRSS Feed
EyalGonen
Lapis Lazuli | Level 10
Hello everyone,

Does anyone know if it is possible to protect certain columns/cells when using the ExcelXP tagset?

For example, I am proc printing SASHELP.CLASS and would like to protect the NAME column from changes.

Thanks,
Eyal
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
I believe that TAGSETS.EXCELXP gives you ways to hide or freeze particular columns, but does not provide a method for protecting columns. I think this is because the method of protecting columns happens from an Excel drop down box that may not have an XML or Spreadsheet Markup Language tag that is "not" produce-able by TAGSETS.EXCELXP.

You may want to check with Tech Support whether this might be possible at all with other tagsets, such as TAGSETS.TABLEEDITOR or not.

cynthia
Peter_C
Rhodochrosite | Level 12
if it's not there yet, I think it might be introduced to the tagset "real soon now" 😉
See the developers paper "Paper 031-2010 ODS ExcelXP: Tag Attr Is It! Using and Understanding the TAGATTR= Style Attribute with the ExcelXP Tagset" at
http://support.sas.com/resources/papers/proceedings10/031-2010.pdf"

many of the snippets of generated XML show [/pre]

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register 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
  • 1812 views
  • 0 likes
  • 3 in conversation