Thema Datum  Von Nutzer Rating
Antwort
04.06.2020 18:39:59 Dietmar
NotSolved
04.06.2020 19:22:58 Gast35886
NotSolved
05.06.2020 06:39:51 Dietmar
NotSolved
05.06.2020 09:08:26 Gast35886
NotSolved
05.06.2020 10:48:06 Dietmar
NotSolved
05.06.2020 11:17:43 Gast35886
NotSolved
05.06.2020 18:07:44 Dietmar
NotSolved
05.06.2020 18:43:08 Gast 35886
NotSolved
05.06.2020 19:51:21 Dietmar
NotSolved
05.06.2020 20:29:15 Gast 35886
NotSolved
06.06.2020 09:04:40 Dietmar
NotSolved
Blau 3 neue Probleme
06.06.2020 14:14:23 Gast 35886
NotSolved
06.06.2020 14:16:48 Gast 35886
NotSolved
06.06.2020 14:18:24 Gast 35886
NotSolved
07.06.2020 08:46:57 Dietmar
NotSolved
07.06.2020 08:58:52 Gast 35886
NotSolved
07.06.2020 09:01:59 Gast 35886
NotSolved
08.06.2020 17:12:09 Dietmar
NotSolved
07.06.2020 11:37:10 Dietmar
NotSolved
08.06.2020 19:16:35 Gast 35886
NotSolved
08.06.2020 19:54:28 Dietmar
NotSolved
08.06.2020 23:19:19 Gast 35886
Solved
09.06.2020 08:07:26 Dietmar
NotSolved
09.06.2020 08:22:34 Gast 35886
NotSolved
09.06.2020 11:49:06 Dietmar
NotSolved
04.06.2020 19:30:34 Flotter Feger
NotSolved
04.06.2020 19:36:37 Gast11642
NotSolved

Ansicht des Beitrags:
Von:
Gast 35886
Datum:
06.06.2020 14:14:23
Views:
880
Rating: Antwort:
  Ja
Thema:
3 neue Probleme
1
2
3
4
5
6
7
8
9
10
11
12
Private Sub Befehl16_Click()
    Dim i As Long, x As Long
    Dim v as variant
    With LST
            For each v in .ItemsSelected
                    ReDim vnt(x)
                    vnt(x) = .ItemData(v)
                    x = x + 1
            Next
    End With
       
     
1
<code class="vb spaces" style="border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; min-height: auto !important;">    </code><code class="vb keyword" style="border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-weight: bold !important; font-size: 1em !important; min-height: auto !important; color: rgb(0, 102, 153) !important;">For</code> <code class="vb plain" style="border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; min-height: auto !important;">i = LBound(vnt()) </code><code class="vb keyword" style="border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-weight: bold !important; font-size: 1em !important; min-height: auto !important; color: rgb(0, 102, 153) !important;">To</code> <code class="vb plain" style="border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; min-height: auto !important;">UBound(vnt())</code>
        Debug.Print fnSTAAT(vnt(i))
    Next i
 

End Sub

 

Bringen wir erstmal die richtigen Werte in das Array; anschließend den Rest.

 

Versuch mal die obige Prozedur, ob nun die passenden Werte geliefert werden.


Ihre Antwort
  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen
Thema: Name: Email:



  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen

Thema Datum  Von Nutzer Rating
Antwort
04.06.2020 18:39:59 Dietmar
NotSolved
04.06.2020 19:22:58 Gast35886
NotSolved
05.06.2020 06:39:51 Dietmar
NotSolved
05.06.2020 09:08:26 Gast35886
NotSolved
05.06.2020 10:48:06 Dietmar
NotSolved
05.06.2020 11:17:43 Gast35886
NotSolved
05.06.2020 18:07:44 Dietmar
NotSolved
05.06.2020 18:43:08 Gast 35886
NotSolved
05.06.2020 19:51:21 Dietmar
NotSolved
05.06.2020 20:29:15 Gast 35886
NotSolved
06.06.2020 09:04:40 Dietmar
NotSolved
Blau 3 neue Probleme
06.06.2020 14:14:23 Gast 35886
NotSolved
06.06.2020 14:16:48 Gast 35886
NotSolved
06.06.2020 14:18:24 Gast 35886
NotSolved
07.06.2020 08:46:57 Dietmar
NotSolved
07.06.2020 08:58:52 Gast 35886
NotSolved
07.06.2020 09:01:59 Gast 35886
NotSolved
08.06.2020 17:12:09 Dietmar
NotSolved
07.06.2020 11:37:10 Dietmar
NotSolved
08.06.2020 19:16:35 Gast 35886
NotSolved
08.06.2020 19:54:28 Dietmar
NotSolved
08.06.2020 23:19:19 Gast 35886
Solved
09.06.2020 08:07:26 Dietmar
NotSolved
09.06.2020 08:22:34 Gast 35886
NotSolved
09.06.2020 11:49:06 Dietmar
NotSolved
04.06.2020 19:30:34 Flotter Feger
NotSolved
04.06.2020 19:36:37 Gast11642
NotSolved