Perforationslinien
#36
Hallo Michael,

(10.04.2019, 08:12)DJMC schrieb: Oder mache ich was falsch?

Ich weiß nicht was Du machst, also kann ich Dir auch nicht sagen ob Du etwas falsch machst.
Falls Du Dich auf das Makro beziehst:

[Bild: perv3arj5l.gif]

Einfach ein Objekt zeichnen oder auswählen und dann das Makro starten.
Das ist das Makro mit der von Norre vorgeschlagenen Änderung.
(Erstellt mit X7)

Code:
Sub Perforationslinien1()
   Dim Orig As Shape, dup1 As Shape
   Set Orig = ActiveShape
   On Error GoTo ende
   ActiveDocument.BeginCommandGroup "Perforationslinien "
   Orig.ConvertToCurves
   Orig.Curve.Closed = False
   Set dup1 = Orig.Duplicate
   With dup1
       .Outline.Style = OutlineStyles(6)
       .Outline.Width = 0.025
       .Outline.ConvertToObject
       .Trim Orig, True, True
       .Delete
   End With
   Orig.Delete
ende:
   ActiveDocument.EndCommandGroup
End Sub

Gruß

Koter
[-] 3 Benutzer bedanken sich bei koter für diesen Beitrag:
  • DJMC, norre, Piet
Zitieren



Nachrichten in diesem Thema
Perforationslinien - von DJMC - 26.03.2019, 14:10
RE: Perforationslinien - von norre - 26.03.2019, 14:38
RE: Perforationslinien - von Fizgo - 26.03.2019, 15:16
RE: Perforationslinien - von DJMC - 26.03.2019, 15:53
RE: Perforationslinien - von norre - 26.03.2019, 18:27
RE: Perforationslinien - von Unkraut - 27.03.2019, 02:06
RE: Perforationslinien - von koter - 26.03.2019, 18:45
RE: Perforationslinien - von Gerrie25 - 27.03.2019, 11:34
RE: Perforationslinien - von Diefa - 28.03.2019, 00:18
RE: Perforationslinien - von norre - 28.03.2019, 01:01
RE: Perforationslinien - von koter - 28.03.2019, 02:53
RE: Perforationslinien - von Piet - 28.03.2019, 09:34
RE: Perforationslinien - von norre - 28.03.2019, 09:57
RE: Perforationslinien - von Gerrie25 - 28.03.2019, 10:04
RE: Perforationslinien - von Diefa - 28.03.2019, 12:46
RE: Perforationslinien - von koter - 28.03.2019, 17:51
RE: Perforationslinien - von DJMC - 10.04.2019, 08:12
RE: Perforationslinien - von koter - 10.04.2019, 16:42
RE: Perforationslinien - von Diefa - 28.03.2019, 18:06
RE: Perforationslinien - von koter - 28.03.2019, 18:24
RE: Perforationslinien - von Diefa - 28.03.2019, 18:44
RE: Perforationslinien - von koter - 29.03.2019, 01:43
RE: Perforationslinien - von Diefa - 29.03.2019, 01:47
RE: Perforationslinien - von Gerrie25 - 28.03.2019, 18:16
RE: Perforationslinien - von Diefa - 28.03.2019, 18:33
RE: Perforationslinien - von Gerrie25 - 28.03.2019, 19:13
RE: Perforationslinien - von norre - 28.03.2019, 19:57
RE: Perforationslinien - von Diefa - 28.03.2019, 19:22
RE: Perforationslinien - von Diefa - 28.03.2019, 20:04
RE: Perforationslinien - von Corelx8_User - 29.03.2019, 23:50
RE: Perforationslinien - von norre - 30.03.2019, 00:49
RE: Perforationslinien - von DJMC - 09.04.2019, 15:36
RE: Perforationslinien - von norre - 09.04.2019, 22:36
RE: Perforationslinien - von koter - 10.04.2019, 00:11
RE: Perforationslinien - von Diefa - 09.04.2019, 17:15
RE: Perforationslinien - von Gerrie25 - 10.04.2019, 14:23
RE: Perforationslinien - von Diefa - 11.04.2019, 16:36
RE: Perforationslinien - von DJMC - 17.04.2019, 11:23