Thema Datum  Von Nutzer Rating
Antwort
08.01.2018 12:01:18 Bifi85
NotSolved
08.01.2018 14:06:51 Gast48594
NotSolved
09.01.2018 09:41:57 Gast88372
NotSolved
09.01.2018 11:55:59 Gast97473
NotSolved
09.01.2018 14:08:24 Bifi85
NotSolved
09.01.2018 15:29:44 Gast72302
NotSolved
09.01.2018 15:47:31 Bifi85
NotSolved
09.01.2018 16:23:25 Gast82034
NotSolved
09.01.2018 16:26:16 Gast62210
NotSolved
09.01.2018 16:31:17 Gast90667
NotSolved
09.01.2018 17:48:51 Bifi85
NotSolved
09.01.2018 18:12:04 fkw48
NotSolved
09.01.2018 18:49:20 Gast46676
NotSolved
Blau Excel: Textfeld kopieren und einfügen (VBA)
09.01.2018 19:41:11 fransi
NotSolved
10.01.2018 14:29:27 Bifi85
NotSolved
10.01.2018 14:54:28 Gast51699
NotSolved
10.01.2018 15:53:15 fransi
NotSolved
10.01.2018 18:20:55 Gast70276
NotSolved
10.01.2018 00:09:34 Gast54080
NotSolved
10.01.2018 00:43:16 Gast93723
NotSolved
10.01.2018 18:57:10 Gast53107
NotSolved
10.01.2018 19:14:09 Gast64046
NotSolved
11.01.2018 10:03:39 Gast39373
NotSolved
11.01.2018 10:05:08 Bifi85
NotSolved
11.01.2018 15:37:22 Gast85672
NotSolved
11.01.2018 17:54:06 Gast43749
NotSolved
12.01.2018 10:18:59 Bifi85
NotSolved
12.01.2018 10:20:38 Bifi85
NotSolved
12.01.2018 15:51:24 Gast31892
NotSolved
12.01.2018 17:10:29 Bifi85
NotSolved
12.01.2018 18:01:33 Gast68462
NotSolved
12.01.2018 19:17:19 Gast70117
Solved
13.01.2018 12:22:09 Bifi85
NotSolved
07.09.2020 21:48:23 Bifi85
NotSolved
08.09.2020 08:20:50 Bifi85
NotSolved

Ansicht des Beitrags:
Von:
fransi
Datum:
09.01.2018 19:41:11
Views:
1229
Rating: Antwort:
  Ja
Thema:
Excel: Textfeld kopieren und einfügen (VBA)

Gaaaaaanz Laaaangsam ;-))))))))

Sub Doit()
'replace msoTextBox "Textbox 1" in "Pizza" with "Recipe" counterpart
Dim ShSource As Worksheet, ShTarget As Worksheet
Dim oSource As Shape, oTarget As Shape
Dim oShp As Shape

   Set ShSource = ThisWorkbook.Sheets("Recipe")
   Set ShTarget = ThisWorkbook.Sheets("Pizza")
   
On Error GoTo fail
      
   Set oShp = ShSource.Shapes("TextBox 1")
   Set oShp = ShTarget.Shapes("TextBox 1")
   
   ShSource.Shapes("TextBox 1").Copy
   With ShTarget
      .Paste
      Set oShp = .Shapes(.Shapes.Count)
      With oShp
         .Left = ShTarget.Shapes("TextBox 1").Left
         .Top = ShTarget.Shapes("TextBox 1").Top
         ShTarget.Shapes("TextBox 1").Delete
         oShp.Name = "TextBox 1"
         oShp.Visible = Not oShp.Visible
         oShp.Visible = Not oShp.Visible
      End With
   End With
   
On Error GoTo 0
fail:
If Err.Number <> 0 Then MsgBox "TextBox 1 is missing"
Set oShp = Nothing
Set ShTarget = Nothing
Set ShSource = 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
08.01.2018 12:01:18 Bifi85
NotSolved
08.01.2018 14:06:51 Gast48594
NotSolved
09.01.2018 09:41:57 Gast88372
NotSolved
09.01.2018 11:55:59 Gast97473
NotSolved
09.01.2018 14:08:24 Bifi85
NotSolved
09.01.2018 15:29:44 Gast72302
NotSolved
09.01.2018 15:47:31 Bifi85
NotSolved
09.01.2018 16:23:25 Gast82034
NotSolved
09.01.2018 16:26:16 Gast62210
NotSolved
09.01.2018 16:31:17 Gast90667
NotSolved
09.01.2018 17:48:51 Bifi85
NotSolved
09.01.2018 18:12:04 fkw48
NotSolved
09.01.2018 18:49:20 Gast46676
NotSolved
Blau Excel: Textfeld kopieren und einfügen (VBA)
09.01.2018 19:41:11 fransi
NotSolved
10.01.2018 14:29:27 Bifi85
NotSolved
10.01.2018 14:54:28 Gast51699
NotSolved
10.01.2018 15:53:15 fransi
NotSolved
10.01.2018 18:20:55 Gast70276
NotSolved
10.01.2018 00:09:34 Gast54080
NotSolved
10.01.2018 00:43:16 Gast93723
NotSolved
10.01.2018 18:57:10 Gast53107
NotSolved
10.01.2018 19:14:09 Gast64046
NotSolved
11.01.2018 10:03:39 Gast39373
NotSolved
11.01.2018 10:05:08 Bifi85
NotSolved
11.01.2018 15:37:22 Gast85672
NotSolved
11.01.2018 17:54:06 Gast43749
NotSolved
12.01.2018 10:18:59 Bifi85
NotSolved
12.01.2018 10:20:38 Bifi85
NotSolved
12.01.2018 15:51:24 Gast31892
NotSolved
12.01.2018 17:10:29 Bifi85
NotSolved
12.01.2018 18:01:33 Gast68462
NotSolved
12.01.2018 19:17:19 Gast70117
Solved
13.01.2018 12:22:09 Bifi85
NotSolved
07.09.2020 21:48:23 Bifi85
NotSolved
08.09.2020 08:20:50 Bifi85
NotSolved