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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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