BookmarkSubscribeRSS Feed
Charles_Liu
Calcite | Level 5
How to add the value list in some column with the ods excel,like the checkbox. or is there another way to get it?
1 REPLY 1
Oligolas
Barite | Level 11

Hi,

you could create and run a vba macro from SAS to do this.

 

vba code

Private Sub ActX_Add_CheckBox_Ex1()
    Sheets("Sheet1").CheckBoxes.Add(Left:=Range("E1").Left, Top:=Range("E1").Top, Width:=Range("G1").Width, Height:=Range("E1").Height).Select
    With Selection
        .Caption = "Checkbox XYZ"
    End With
End Sub

HowTo 

________________________

- Cheers -

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1 reply
  • 560 views
  • 0 likes
  • 2 in conversation