<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									ComboBox com 2 Colunas - VBA &amp; Macros				            </title>
            <link>http://planilhando.com.br/community/2024-vba-macros/combobox-com-2-colunas/</link>
            <description>Planilhando :: O Maior portal de Excel do Brasil</description>
            <language>pt-BR</language>
            <lastBuildDate>Sun, 09 Aug 2026 11:15:45 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: ComboBox com 2 Colunas</title>
                        <link>http://planilhando.com.br/community/2024-vba-macros/combobox-com-2-colunas/#post-129071</link>
                        <pubDate>Tue, 07 Jun 2022 15:24:08 +0000</pubDate>
                        <description><![CDATA[Segue exemplo anexo.
&nbsp;Pasta1.zip]]></description>
                        <content:encoded><![CDATA[<p>Segue exemplo anexo.</p>
<div id="wpfa-35799" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//www.planilhando.com.br/wp-content/uploads/wpforo/default_attachments/1654615448-Pasta1.zip" target="_blank" title="Pasta1.zip"><i class="fas fa-paperclip"></i>&nbsp;Pasta1.zip</a></div>]]></content:encoded>
						                            <category domain="http://planilhando.com.br/community/2024-vba-macros/">VBA &amp; Macros</category>                        <dc:creator>pedrobb</dc:creator>
                        <guid isPermaLink="true">http://planilhando.com.br/community/2024-vba-macros/combobox-com-2-colunas/#post-129071</guid>
                    </item>
				                    <item>
                        <title>RE: ComboBox com 2 Colunas</title>
                        <link>http://planilhando.com.br/community/2024-vba-macros/combobox-com-2-colunas/#post-129068</link>
                        <pubDate>Tue, 07 Jun 2022 12:19:46 +0000</pubDate>
                        <description><![CDATA[Bom dia, @pedrobb!
Quando uma pergunta fica muito tempo sem nenhuma resposta, desconfie!
Eu diria que na maioria das situações é pq faltou anexar um modelo funcional do que está sendo plei...]]></description>
                        <content:encoded><![CDATA[<p>Bom dia, @pedrobb!</p>
<p>Quando uma pergunta fica muito tempo sem nenhuma resposta, desconfie!</p>
<p>Eu diria que na maioria das situações é pq faltou anexar um modelo funcional do que está sendo pleiteado para que se possa testar o simulacro. E no VBA, sem poder testar fica complicado ajudar.</p>
<p>Ou é quando a explanação não foi suficientemente clara ou <em>mixuruca</em> em exemplos hehehe...</p>
<p>Claro que às vezes também é por ser excessivamente complexa ou demasiadamente trabalhosa para ser resolvida em um fórum.</p>
<p>Tente acrescentar algo que possa auxiliar os colaboradores do fórum a ajudar a resolver o problema... o anexo pelo menos eu diria ser essencial.</p>]]></content:encoded>
						                            <category domain="http://planilhando.com.br/community/2024-vba-macros/">VBA &amp; Macros</category>                        <dc:creator>EdsonBR</dc:creator>
                        <guid isPermaLink="true">http://planilhando.com.br/community/2024-vba-macros/combobox-com-2-colunas/#post-129068</guid>
                    </item>
				                    <item>
                        <title>ComboBox com 2 Colunas</title>
                        <link>http://planilhando.com.br/community/2024-vba-macros/combobox-com-2-colunas/#post-129062</link>
                        <pubDate>Mon, 06 Jun 2022 12:48:36 +0000</pubDate>
                        <description><![CDATA[Pessoal,Uso a função abaixo pra popular uma ComboBox, em ordem e com valoresexclusivos.A ComboBox tem 01 coluna,mas preciso que essa ComboBox abra a Coluna &quot;C&quot;também (que tenha 2 colunas).
...]]></description>
                        <content:encoded><![CDATA[<p>Pessoal,<br />Uso a função abaixo pra popular uma ComboBox, em ordem e com valores<br />exclusivos.<br />A ComboBox tem 01 coluna,mas preciso que essa ComboBox abra a Coluna "C"<br />também (que tenha 2 colunas).</p>
<pre contenteditable="false">Sub PreencherComboDespesas()
    Dim iRow As Long
    Dim lastRow As Long
    Dim ws As Worksheet
    Dim List As Object 'mscorlib.ArrayList
    Dim NewItem As String
    Dim Values As Variant
    Set List = CreateObject("System.Collections.ArrayList")
    Set ws = Planilha4 'ThisWorkbook.Worksheets(1) 'ActiveCell
    lastRow = ws.Cells(ws.Rows.Count, "A").End(xlUp).Row
    If Planilha4.Range("L1").Value = 0 Then Exit Sub
    For iRow = 2 To lastRow
        NewItem = ws.Cells(iRow, "B").Value2  &lt;&lt;&lt;&lt;----- preciso de 2 colunas, B e C
            If Not List.Contains(NewItem) Then
                List.Add NewItem
            End If
    Next iRow
    List.Sort
    Values = WorksheetFunction.Transpose(List.ToArray)
    frmDespesas.ComboDespesas.List = Values
Set List = Nothing
Set ws = Nothing
End Sub
</pre>]]></content:encoded>
						                            <category domain="http://planilhando.com.br/community/2024-vba-macros/">VBA &amp; Macros</category>                        <dc:creator>pedrobb</dc:creator>
                        <guid isPermaLink="true">http://planilhando.com.br/community/2024-vba-macros/combobox-com-2-colunas/#post-129062</guid>
                    </item>
							        </channel>
        </rss>
		