BookmarkSubscribeRSS Feed
RonHackett
Calcite | Level 5
Trying to limit the HTML BCOLOR on a FOOTNOTE so that it doesn't scroll across the entire width of the screen (See attached file). My footnote code looks like this: footnote1 h=4.0 bcolor=red c=black "Utilization Level >= 95% "; footnote2 h=4.0 bcolor=yellow c=black "Utilization Level 85%-94%"; footnote3 h=4.0 bcolor=green c=black "Utilization Level 75%-84%"; footnote4 h=4.0 bcolor='light blue' c=black "Utilization Level <75% ";
Sample Footnote BCOLOR issue.jpg
2 REPLIES 2
Ksharp
Super User
ods escapechar='~';
footnote1 h=4.0 c=black "~S={background=red}Utilization Level >= 95% "; 
footnote2 h=4.0 bcolor=yellow c=black "Utilization Level 85%-94%"; 

proc print data=sashelp.class;run;
RonHackett
Calcite | Level 5

Thank you!  That worked.

 

Code looks like this now:

  footnote1 h=4.0 c=black "~S={background=red}Utilization Level >= 95% ";                                                               
  footnote2 h=4.0 c=black "~S={background=yellow}Utilization Level 85%-94%";                                                            
  footnote3 h=4.0 c=black "~S={background=green}Utilization Level 75%-84%";                                                             
  footnote4 h=4.0 c=black "~S={background=light blue}Utilization Level <75%";                                                           
  footnote5 h=3.0 c=black j=l "Date Created: %sysfunc(date(),worddate.)";   

 

And results are posted as JPG attachement.

 


Sample Footnote BCOLOR fix.jpg

sas-innovate-2024.png

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.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 769 views
  • 0 likes
  • 2 in conversation