HI
i AM USING DDE TO INVOKE VBA CODE FROM WORD FOR WATERMARK MY RTF OUTPUT!
But somehow watermarking "Confidential" hide behind table.
How to fix this?
Remove the code that adds it or remove it from the template, if you’re using one.
If you need help finding the code to delete, please post your code.
PS. All caps is the equivalent of yelling on the internet.
@sam1231 wrote:
HI
i AM USING DDE TO INVOKE VBA CODE FROM WORD FOR WATERMARK MY RTF OUTPUT!
But somehow watermarking "Confidential" hide behind table.
How to fix this?
ODS PATH work.templat(update) sasuser.templat(read)
sashelp.tmplmst(read);
Proc Template;
Define Style Styles.STNDR /*/ Store = SASuser.Templat*/;
Parent = Styles.printer ;
replace body from document /
leftmargin=1.10in
rightmargin=0.6in
topmargin=0.75in
bottommargin=0.5in
;
style table from table/
frame=void
WATERMARK=ON
protectspecialchars=off
rules=groups
cellpadding=2pt cellspacing=1.25pt borderwidth=0.5pt;
Style SystemTitle From TitlesAndFooters /
Font = ( "Times New Roman",12Pt,Bold )
Just = Center ;
Style SystemFooter From TitlesAndFooters /
Font = ( "Times New Roman",10Pt,Bold )
Just = Center ;
replace HeadersAndFooters from Cell /
font = fonts('docFont')
foreground=colors('datafg')
background=colors('databg')
protectspecialchars=off;
End ;
run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.