vba: Rückkehr Wörterbuch-Funktion

dieser beschreibt, was ich versuche zu tun.

dies ist nicht für mich arbeiten, und es ist unklar, warum.

vielen Dank im Voraus für jegliche Hilfe.

        Sub mySub()
        dim myDict as Dictionary
            myDict=new Dictionary

                myDict=myFunc()

        End Sub

        Function myFunc()
            dim myDict2
                set myDict2 = new Dictionary

                    'some code that does things and adds to myDict2'

            myFunc=myDict2
        End Function
InformationsquelleAutor jason m | 2010-10-27
Schreibe einen Kommentar