<?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 How do I remove empty rows from a drop-down menu? in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052183#M220336</link>
    <description>&lt;P&gt;How do I remove empty rows at the end of the second drop-down menu when selecting "steel" in the first drop-down menu?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 10:24:51 GMT</pubDate>
    <dc:creator>DD_13910355</dc:creator>
    <dc:date>2026-01-26T10:24:51Z</dc:date>
    <item>
      <title>How do I remove empty rows from a drop-down menu?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052183#M220336</link>
      <description>&lt;P&gt;How do I remove empty rows at the end of the second drop-down menu when selecting "steel" in the first drop-down menu?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 10:24:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052183#M220336</guid>
      <dc:creator>DD_13910355</dc:creator>
      <dc:date>2026-01-26T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove empty rows from a drop-down menu?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052242#M220338</link>
      <description>&lt;P&gt;You could use "ReDim" to redimension variable "Section".&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Sub ComboBoxEvent_Start()

Material= Worksheet.GetValue("Material")		

If Material= "Cast Iron" Then 
   Dim Section(2)	
   Section(0) = "1"
   Section(1) = "2"
   Section(2) = "3"

ElseIf Material= "Steel" Then 
   ReDim Section(2)	
   Section(0) = "A"
   Section(1) = "B"
   Section(2) = "C"
Else
   ReDim Section(4)	
   Section(0) = "A1"
   Section(1) = "B2"
   Section(2) = "C3"
   Section(3) = "D3"
   Section(4) = "E3"
End If

ComboBox.List() = Section
End Sub
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 26 Jan 2026 15:14:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052242#M220338</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2026-01-26T15:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove empty rows from a drop-down menu?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052254#M220341</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:01:54 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052254#M220341</guid>
      <dc:creator>DD_13910355</dc:creator>
      <dc:date>2026-01-26T16:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove empty rows from a drop-down menu?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052281#M220342</link>
      <description>&lt;P&gt;Is it possible to implement the same solution so that the row names in the second menu are defined not in the menu code, but in an array on the MathCAD file, designated by a variable above the menu itself. This way, each row name is assigned a corresponding value, also defined in an array like the row names?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:13:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052281#M220342</guid>
      <dc:creator>DD_13910355</dc:creator>
      <dc:date>2026-01-26T18:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove empty rows from a drop-down menu?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052283#M220343</link>
      <description>&lt;P&gt;That's sure possible to implement.&lt;/P&gt;
&lt;P&gt;You might be interested in Richards collection of components here -&amp;gt;&amp;nbsp;&lt;A href="https://community.ptc.com/t5/Mathcad/Extra-Components-and-Controls/m-p/450450/highlight/true#M174846" target="_blank" rel="noopener"&gt;Extra Components and Controls - PTC Community&lt;/A&gt;&lt;BR /&gt;Especially the section "Dynamically filled list boxes" in the last third of the sheet.&lt;/P&gt;
&lt;P&gt;I am not sure if it will be of use to you but I also attached an old quite elaborate file from Tom Gutman which may be of interest. It feeds the boxes from Excel files. i have not tested if his solution still works in MC14/15. Maybe its necessary to resave the Excel files in xlsx format?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:47:14 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-do-I-remove-empty-rows-from-a-drop-down-menu/m-p/1052283#M220343</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2026-01-26T18:47:14Z</dc:date>
    </item>
  </channel>
</rss>

