Skip to content

Commit

Permalink
r7 version 1.2.1
Browse files Browse the repository at this point in the history
remove command group
maybe this call bug
  • Loading branch information
saniainf committed Jun 25, 2019
1 parent 59d2229 commit d434bbf
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions PrintMarksR7.bas
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
Attribute VB_Name = "PrintMarksR7"
Sub PrintMarksR7()
' version 1.2.1
' remove command group
' maybe this call bug

' version 1.2
' add create color bar in new document
If (Documents.Count = 0) Then Exit Sub
ActiveDocument.BeginCommandGroup "Create R7 Print Marks"

' maybe this call bug
' ActiveDocument.BeginCommandGroup "Create R7 Print Marks"
Application.Optimization = True
ActiveDocument.Unit = cdrMillimeter

Expand Down Expand Up @@ -196,7 +202,8 @@ ActiveDocument.Unit = cdrMillimeter
Application.Optimization = False
ActiveWindow.Refresh
Application.Refresh
ActiveDocument.EndCommandGroup

' ActiveDocument.EndCommandGroup
End Sub

Public Function nextItem(aSel As ShapeRange, i As Integer) As Boolean
Expand Down

0 comments on commit d434bbf

Please sign in to comment.