OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-01-2019, 04:48
aakkaarr aakkaarr is offline
Senior Member
 
Join Date: Jan 2009
Posts: 154
Default What does the following code do

Public Sub Speeder(State As Boolean, Optional UndoTitle As String = "Makro execution")

If State Then
ActiveDocument.BeginCommandGroup UndoTitle
Optimization = True
EventsEnabled = False
ActiveDocument.SaveSettings "Speeder"
ActiveDocument.PreserveSelection = False
Else
ActiveDocument.RestoreSettings "Speeder"
EventsEnabled = True
Optimization = False
Refresh
ActiveDocument.EndCommandGroup
End If

End Sub
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrTwoColorPattern by code brujitacastiza Macros/Add-ons 2 08-03-2012 09:38
[useful code] wOxxOm CorelDRAW/Corel DESIGNER VBA 0 19-12-2007 16:00
[useful code] sortDelimitedText wOxxOm CorelDRAW/Corel DESIGNER VBA 0 19-12-2007 15:51
v11 code in v13 diwin CorelDRAW/Corel DESIGNER VBA 5 26-06-2007 19:43
Why does this code run so slow? Webster CorelDRAW/Corel DESIGNER VBA 3 20-03-2007 06:18


All times are GMT -5. The time now is 05:04.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com