<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Drop down Y/N (data validation list) in Excel using PROC REPORT and ODS in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939147#M368797</link>
    <description>&lt;P&gt;I am using PROC Report&amp;nbsp; and ODS in SAS EG to generate Excel (XLSX) file.I have a column called Conversion_indicator which is blank column , i need to have Y/N values in the drop down list for all the cells where SSN is populated.so that when we send the report to end user, they should be only allowed to populate Y/N in those cells .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible with proc report ? I am currently using data validation list in excel and doing it manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will be very helpful if i can automate it while generating the Excel report .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jdveerapaneni_0-1723585288567.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99229i0B6D64878D783E05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jdveerapaneni_0-1723585288567.png" alt="jdveerapaneni_0-1723585288567.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2024 21:42:00 GMT</pubDate>
    <dc:creator>jdveerapaneni</dc:creator>
    <dc:date>2024-08-13T21:42:00Z</dc:date>
    <item>
      <title>Drop down Y/N (data validation list) in Excel using PROC REPORT and ODS in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939147#M368797</link>
      <description>&lt;P&gt;I am using PROC Report&amp;nbsp; and ODS in SAS EG to generate Excel (XLSX) file.I have a column called Conversion_indicator which is blank column , i need to have Y/N values in the drop down list for all the cells where SSN is populated.so that when we send the report to end user, they should be only allowed to populate Y/N in those cells .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible with proc report ? I am currently using data validation list in excel and doing it manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will be very helpful if i can automate it while generating the Excel report .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jdveerapaneni_0-1723585288567.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99229i0B6D64878D783E05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jdveerapaneni_0-1723585288567.png" alt="jdveerapaneni_0-1723585288567.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 21:42:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939147#M368797</guid>
      <dc:creator>jdveerapaneni</dc:creator>
      <dc:date>2024-08-13T21:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down Y/N (data validation list) in Excel using PROC REPORT and ODS in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939411#M368847</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use the autofilter option in ods excel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;ods excel options(autofilter='all' sheet_name='filter all');&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;proc print data=sashelp.shoes(obs=20);&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 12:42:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939411#M368847</guid>
      <dc:creator>rudfaden</dc:creator>
      <dc:date>2024-08-15T12:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down Y/N (data validation list) in Excel using PROC REPORT and ODS in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939449#M368858</link>
      <description>&lt;P&gt;if we use auto filter option it just add filter for all columns , but i need Data validation filter (Y/N) for just 1 column which has blank data.so that end user can update excel with Y/N only (no other values in that column).&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 14:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939449#M368858</guid>
      <dc:creator>jdveerapaneni</dc:creator>
      <dc:date>2024-08-15T14:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down Y/N (data validation list) in Excel using PROC REPORT and ODS in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939558#M368894</link>
      <description>&lt;P&gt;Can you give an example of how that is done in Excel?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 06:41:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939558#M368894</guid>
      <dc:creator>rudfaden</dc:creator>
      <dc:date>2024-08-16T06:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down Y/N (data validation list) in Excel using PROC REPORT and ODS in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939623#M368907</link>
      <description>&lt;P&gt;I tried searching for this functionality of Excel on-line and all I could find were instructions on how to create the data validation rules using point and click methods in the Excel interface.&amp;nbsp; So it is not at all clear to me how Excel is doing this.&amp;nbsp; Where they are storing these data validation rules in the file.&amp;nbsp; &amp;nbsp;But perhaps if you could figure out how it is done you could modify the XML that is stored in the XLSX file (an XLSX file is a ZIP file that contains special XML files) to create the data validation rules after the worksheet has been made.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 13:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939623#M368907</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-08-16T13:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down Y/N (data validation list) in Excel using PROC REPORT and ODS in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939640#M368917</link>
      <description>&lt;P&gt;attached is the Excel (check column Convert_ind - only Yes/No values are allowed) with has data validation include in it. Excel data valaidation &amp;gt; settings &amp;gt; allow &amp;gt; list &amp;amp; range&lt;/P&gt;&lt;P&gt;or&amp;nbsp; below is the VBA macro i used to run manually after creating the excel file. If you can let me know if there is a way to call this VBA in SAS EG directly using ODS that will be helpful too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note - I have multiple sheets, doing it manually is not feasible. That the reason i need to do this while creating the excel in SAS .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub Macro1()&lt;BR /&gt;With Range("D:D").Validation&lt;BR /&gt;.Delete&lt;BR /&gt;.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, _&lt;BR /&gt;Operator:=xlBetween, Formula1:="Yes,No"&lt;BR /&gt;.IgnoreBlank = True&lt;BR /&gt;.InCellDropdown = True&lt;BR /&gt;.InputTitle = ""&lt;BR /&gt;.ErrorTitle = ""&lt;BR /&gt;.InputMessage = ""&lt;BR /&gt;.ErrorMessage = ""&lt;BR /&gt;.ShowInput = True&lt;BR /&gt;.ShowError = True&lt;BR /&gt;End With&lt;BR /&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 14:29:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939640#M368917</guid>
      <dc:creator>jdveerapaneni</dc:creator>
      <dc:date>2024-08-16T14:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down Y/N (data validation list) in Excel using PROC REPORT and ODS in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939641#M368918</link>
      <description>&lt;P&gt;sorry forgot to add excel in previous message&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 14:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-down-Y-N-data-validation-list-in-Excel-using-PROC-REPORT/m-p/939641#M368918</guid>
      <dc:creator>jdveerapaneni</dc:creator>
      <dc:date>2024-08-16T14:30:20Z</dc:date>
    </item>
  </channel>
</rss>

