Thema Datum  Von Nutzer Rating
Antwort
01.08.2018 09:46:25 Dan
NotSolved
01.08.2018 10:37:35 Ulrich
NotSolved
01.08.2018 10:40:31 SJ
Solved
01.08.2018 11:24:19 Gast9998
NotSolved
01.08.2018 11:55:49 SJ
NotSolved
02.08.2018 09:45:58 Gast22490
NotSolved
Rot VBA Matching
02.08.2018 09:52:46 Dan
Solved
02.08.2018 09:57:12 Dan
NotSolved
02.08.2018 10:40:45 SJ
NotSolved
02.08.2018 11:17:57 SJ
Solved
02.08.2018 15:13:08 Dan
NotSolved
07.08.2018 08:48:19 Gast72145
NotSolved
07.08.2018 09:06:52 SJ
NotSolved
07.08.2018 09:18:53 Dan
NotSolved
07.08.2018 10:10:15 SJ
NotSolved
07.08.2018 10:53:49 Gast70864
NotSolved
07.08.2018 11:33:51 SJ
NotSolved
07.08.2018 12:15:50 Gast82802
NotSolved
07.08.2018 15:12:25 Gast26538
NotSolved
08.08.2018 10:11:01 Dan
NotSolved

Ansicht des Beitrags:
Von:
Dan
Datum:
02.08.2018 09:52:46
Views:
576
Rating: Antwort:
 Nein
Thema:
VBA Matching
Anbei die Lösung zum kopieren in eine andere Tabelle
 
Public Sub main()
    Dim colResult As Collection
    Dim cFactory As New clsDataFactory
    Dim cMatch As clsMatch
    Dim i As Integer
 
 
    Sheets.Add.Name = "ŸbereinstimmendeEintrŠge"
 
    cFactory.dataFactory "Tabelle1"
    Set colResult = cFactory.getMatchingItems
 
Worksheets("ŸbereinstimmendeEintrŠge").Cells(1, 1).FormulaR1C1 = "Datum"
Worksheets("ŸbereinstimmendeEintrŠge").Cells(1, 2).FormulaR1C1 = "Nachname"
Worksheets("ŸbereinstimmendeEintrŠge").Cells(1, 3).FormulaR1C1 = "Vorname"
Worksheets("ŸbereinstimmendeEintrŠge").Cells(1, 4).FormulaR1C1 = "Ja/Nein"
Worksheets("ŸbereinstimmendeEintrŠge").Cells(1, 6).FormulaR1C1 = "Nachname"
Worksheets("ŸbereinstimmendeEintrŠge").Cells(1, 7).FormulaR1C1 = "Vorname"
Worksheets("ŸbereinstimmendeEintrŠge").Cells(1, 8).FormulaR1C1 = "Ja/Nein"
 
    If Not colResult Is Nothing Then
        i = 2
        For Each cMatch In colResult
Worksheets("ŸbereinstimmendeEintrŠge").Cells(i, 1).FormulaR1C1 = cMatch.Data1.Datum
Worksheets("ŸbereinstimmendeEintrŠge").Cells(i, 2).FormulaR1C1 = cMatch.Data1.Nachname
Worksheets("ŸbereinstimmendeEintrŠge").Cells(i, 3).FormulaR1C1 = cMatch.Data1.Vorname
Worksheets("ŸbereinstimmendeEintrŠge").Cells(i, 4).FormulaR1C1 = cMatch.Data1.JaNein
Worksheets("ŸbereinstimmendeEintrŠge").Cells(i, 6).FormulaR1C1 = cMatch.Data2.Nachname
Worksheets("ŸbereinstimmendeEintrŠge").Cells(i, 7).FormulaR1C1 = cMatch.Data2.Vorname
Worksheets("ŸbereinstimmendeEintrŠge").Cells(i, 8).FormulaR1C1 = cMatch.Data2.JaNein
 
        i = i + 1
 
        Next cMatch
 
    End If
 
    
    Set colResult = Nothing
    Set cFactory = Nothing
End Sub

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
01.08.2018 09:46:25 Dan
NotSolved
01.08.2018 10:37:35 Ulrich
NotSolved
01.08.2018 10:40:31 SJ
Solved
01.08.2018 11:24:19 Gast9998
NotSolved
01.08.2018 11:55:49 SJ
NotSolved
02.08.2018 09:45:58 Gast22490
NotSolved
Rot VBA Matching
02.08.2018 09:52:46 Dan
Solved
02.08.2018 09:57:12 Dan
NotSolved
02.08.2018 10:40:45 SJ
NotSolved
02.08.2018 11:17:57 SJ
Solved
02.08.2018 15:13:08 Dan
NotSolved
07.08.2018 08:48:19 Gast72145
NotSolved
07.08.2018 09:06:52 SJ
NotSolved
07.08.2018 09:18:53 Dan
NotSolved
07.08.2018 10:10:15 SJ
NotSolved
07.08.2018 10:53:49 Gast70864
NotSolved
07.08.2018 11:33:51 SJ
NotSolved
07.08.2018 12:15:50 Gast82802
NotSolved
07.08.2018 15:12:25 Gast26538
NotSolved
08.08.2018 10:11:01 Dan
NotSolved