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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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