OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > CorelDRAW > FAQ

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27-04-2005, 13:11
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default Adding a button to toolbars to run a VBA macro

I have a macro which I can run successfully but I have to go through many steps to do so (Tools>Visual Basic>Play>Pick the module>Select the macro>Run). Is there a way to add a button to toolbar or a shortcut key to run my macro quickly?
Reply With Quote
  #2  
Old 16-04-2007, 22:21
sallybode
Guest
 
Posts: n/a
Default Adding a button to a toolbar

Tools/Options/Customization/Commands then in the scrolling list, select "Macros" and from that new list, scroll to your script you want. On the right-hand side of the screen, you have the choice to assign it a keyboard shortcut, or you have a place to create a custom button, or to browse for a premade one, or if you have a script that came with its own .bmp, you can navigate to its location and assign it that way. You will note that when you have done this step, that the button's picture will appear as an icon to the left of the script. Just drag this out to your desktop to use it. Do not hit cancel, or you have to do it all again. Hit OK, then you can close the dialogue box. You can then Alt-drag the button to any existing toolbar for your convenience. If you lose the button in the process, go back to the top line of this paragraph and find the button you made, it is still in the system, just drag it out again and try to be a bit more careful this time.
Reply With Quote
  #3  
Old 17-04-2007, 15:50
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
 
Join Date: Mar 2005
Posts: 836
Default

:-) The most convenient way to run a macro without adding it to toolbar or menu is using MacroSelector (&Installer) macro from http://recentfiles.netfirms.com
Reply With Quote
  #4  
Old 10-05-2007, 01:47
sallybode
Guest
 
Posts: n/a
Default Really like your scripts..

wOxxOm, your scripts are very handy, I have been using a lot of them both at work and at home. Well thought out.

Especially like the transparent edge script and have found it combines well with other techniques I have made for soft edges.

Previously I was using a script which turned the object 100% transparent and assigned a glow drop shadow to it. This had the advantage of being able to continue to edit the shape rather than to separate the shadow and then delete the object. Only to drag and right click copy it, unless grouped would just drag the object or unless selcted from Object Manager. Your script is far easier.

But it is different in the graininess of the fuzz on the gradient from the drop shadow, so I can get a variety of techniques going that is rather interesting.

The Recent Files is another favorite of mine as it is a much better file browser.
Reply With Quote
  #5  
Old 10-05-2007, 09:07
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
 
Join Date: Mar 2005
Posts: 836
Default

Oh, nice to hear, I like that Jell-O too :-)
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
CD 10, VBA not returning true outline width Webster CorelDRAW/Corel DESIGNER VBA 1 24-11-2004 18:09
Adding a Reference on a pwd protected macro Rick Randall CorelDRAW/Corel DESIGNER VBA 9 27-10-2004 10:27
New macro to clip curves w.r.t. a border Gerard Hermans Macros/Add-ons 0 09-06-2003 08:50
closing dockers/interactive toolbars to speed up a macro Rick Randall CorelDRAW CS 1 09-12-2002 21:39
Detect if VBA is installed (an answer and a question) reanan CorelDRAW/Corel DESIGNER VBA 3 04-12-2002 15:35


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


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