Can someone explain how to add Leading Blank spaces to Title Statement while left justifying the Title.
Thanks,
MG
Hi:
The answer will depend on your destination of interest (HTML, PDF, RTF)? Why do you need leading spaces if you are left-justifying the title (just curious).
cynthia
Here's an example for the 3 primary destinations:
Cynthia, thanks for the response and sorry for not providing complete deltails.
I want to add few Leading blank spaces to the Title in my excel report generated by PROC REPORT using tagsets.ExcelXP.
TITLE J=LEFT " " "Total Members = &client_cnt";
I want the Total Members to be displayed starting from 2nd or 3rd column . providing space in TITLE statment is not working when i am left justifying it .
Thanks,
MG
A possibly confusing approach might be to try null characters (ASCII 255). You often can type them into the editor by holding down the alt key and then use the NUMERIC key pad to type 255 and release the alt key (for each character). What gets seen may depend on the active font but mostly it looks like a space and generally doesn't get stripped like a space does.
Can you just add some TAB characters before it ? TITLE " '09'x '09'x '09'x '09'x xxxxxxxx";
Adding TAB characters works excellent. Thank you!!!
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.