BookmarkSubscribeRSS Feed
Gavriusev
Calcite | Level 5

Hello!

 

I've used to adding Auto numbering titles in rtf by putting next:

"{{\*\bkmkstart &bkmrk}
{&type \field{\*\fldinst{SEQ &type \\* ARABIC \\n }}}
{\*\bkmkend &bkmrk}. &captiontext}"

But now I've started using ods word instead of ods rtf to report into docx. And such is not working.

I've tried such:

<w:instrText xml:space="preserve"> SEQ Figure \* ARABIC </w:instrText>

But it's still now working.

Does anyone know how to do this?

I've got the latest versions of SAS and EG.

 

figure.png

 

2 REPLIES 2
Cynthia_sas
Diamond | Level 26

Hi:

  In the preproduction documentation https://go.documentation.sas.com/?docsetId=odsug&docsetTarget=p10mxeb6wxqfjgn1p5u0w4t8qf20.htm&docse... it looks like ANCHOR= is how you can insert bookmarks (or Anchor tags in HTML) into documents. I have tried ANCHOR= with HTML, PDF and RTF reports with ODS. I would assume that ANCHOR= works the same with ODS WORD.

 

  I do not have 9.4M6 quite yet to teach with, since we are still using 9.4M5 in the classroom. If you need more in-depth help with this question, I recommend opening a track with Tech Support.

 

  Here's the tip sheet for ODS WORD: https://support.sas.com/rnd/base/ods/Tipsheet_ods_word.pdf .

 

Cynthia

 

Gavriusev
Calcite | Level 5

Hi,

It is not a thing I need.

How it should looks in a document

 Аннотация 2019-04-30 110019.png

Code of this thing

Аннотация 2019-04-30 110024.png

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
  • 1151 views
  • 0 likes
  • 2 in conversation