Thema Datum  Von Nutzer Rating
Antwort
Rot Vgl. Zelleneinträge mit ShapeText
24.04.2014 12:40:58 Corina
NotSolved
24.04.2014 17:08:01 Corina
NotSolved
24.04.2014 21:43:02 gabi
NotSolved
25.04.2014 10:21:14 Corina
NotSolved
25.04.2014 13:44:03 Gast25327
*****
Solved
25.04.2014 13:50:37 Gast63045
NotSolved
25.04.2014 16:07:24 Corina
NotSolved
25.04.2014 16:25:04 Corina
NotSolved
25.04.2014 23:00:38 gabi
NotSolved
26.04.2014 09:50:55 gabi
*****
Solved
27.04.2014 13:20:34 Corina
NotSolved
27.04.2014 18:40:31 gabi
NotSolved
28.04.2014 08:46:31 Corina
NotSolved
Blau Wow
28.04.2014 09:24:53 gabi
NotSolved
Rot Wow
28.04.2014 12:51:17 Corina
NotSolved
Blau Wow
28.04.2014 15:29:14 gabi
NotSolved
Rot Wow
29.04.2014 09:55:11 Corina
NotSolved
29.04.2014 12:15:23 gabi
NotSolved
28.04.2014 13:46:57 Gast40414
NotSolved
28.04.2014 14:29:04 Corina
NotSolved
28.04.2014 15:02:35 Gast13316
NotSolved
28.04.2014 15:06:49 Gast54937
NotSolved
28.04.2014 15:31:48 Corina
NotSolved
28.04.2014 14:37:59 Corina
NotSolved
27.04.2014 12:50:26 Corina
NotSolved

Ansicht des Beitrags:
Von:
Corina
Datum:
24.04.2014 12:40:58
Views:
2382
Rating: Antwort:
  Ja
Thema:
Vgl. Zelleneinträge mit ShapeText

Hallo allerseits,

ich bin's mal wieder mit einer Anfrage, die meinen vorherigen Fragen stark ähnelt. Ich schaffe es allerdings irgendwie nicht die Übertragungsarbeit zu leisten.

Ich möchte gerne jeden einzelnen Zelleneintrag eines Bereiches mit allen Text vergleichen, die in bestimmten Formen angezeigt werden. So was Ähnliches musste ich schon mal machen,  nur andersrum (Text einzelner Form in Bereich suchen). Leider kann man den Code wohl nicht einfach so umkehren, wie  ich es mir zunächst erhofft habe. Kann mir bitte jemand helfen? Schon mal vielen Dank dafür.

Beste Grüße

Corina

P.S.: Ziel des Ganzen ist es eines Tages automatisch Shapes zu erstellen anhand von bestimmten Zelleinträgen.

Option Explicit
Sub CreateShapes()

Dim ws As Worksheet
Dim SrchRng
Dim shp As Excel.Shape
Dim c As Range
Dim cellEntry As String
Dim lastRow

On Error GoTo ErrHandler

Set ws = Worksheets("Lists")
lastRow = ws.Cells(Rows.count, 1).End(xlUp).row

With Worksheets("Checklist Structure")
    For Each shp In .Shapes
        If shp.Type = msoAutoShape Then
            If shp.AutoShapeType = msoShapeRoundedRectangle Then
            cellEntry = ws.Range("D3:P" & lastRow).Cells.Value
            SrchRng = shp.TextFrame2.TextRange.Characters.Text
            Set c = SrchRng.Find(cellEntry, LookIn:=xlValues)
                If Not c Is Nothing Then
                MsgBox ("Succes!")
                End If
            End If
        End If
    Next shp
End With


ErrHandler:
Call MsgBox(Err.Description, vbCritical, "Error " & Err.number)


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
Rot Vgl. Zelleneinträge mit ShapeText
24.04.2014 12:40:58 Corina
NotSolved
24.04.2014 17:08:01 Corina
NotSolved
24.04.2014 21:43:02 gabi
NotSolved
25.04.2014 10:21:14 Corina
NotSolved
25.04.2014 13:44:03 Gast25327
*****
Solved
25.04.2014 13:50:37 Gast63045
NotSolved
25.04.2014 16:07:24 Corina
NotSolved
25.04.2014 16:25:04 Corina
NotSolved
25.04.2014 23:00:38 gabi
NotSolved
26.04.2014 09:50:55 gabi
*****
Solved
27.04.2014 13:20:34 Corina
NotSolved
27.04.2014 18:40:31 gabi
NotSolved
28.04.2014 08:46:31 Corina
NotSolved
Blau Wow
28.04.2014 09:24:53 gabi
NotSolved
Rot Wow
28.04.2014 12:51:17 Corina
NotSolved
Blau Wow
28.04.2014 15:29:14 gabi
NotSolved
Rot Wow
29.04.2014 09:55:11 Corina
NotSolved
29.04.2014 12:15:23 gabi
NotSolved
28.04.2014 13:46:57 Gast40414
NotSolved
28.04.2014 14:29:04 Corina
NotSolved
28.04.2014 15:02:35 Gast13316
NotSolved
28.04.2014 15:06:49 Gast54937
NotSolved
28.04.2014 15:31:48 Corina
NotSolved
28.04.2014 14:37:59 Corina
NotSolved
27.04.2014 12:50:26 Corina
NotSolved