rajuks Posted October 14, 2008 Posted October 14, 2008 I have created a new tool pallete and i want to use one tool to run vba macro developed by me. vbarun test1 where test1 is the macro name which needs to be run when i click on one of my tool. Thanks satya Quote
GhostRider Posted October 14, 2008 Posted October 14, 2008 I'm no expert but I have some that use this to call Vba command: ^C^C(command "vbastmt" "test1") Quote
ZenCad1960 Posted October 14, 2008 Posted October 14, 2008 I have created a new tool pallete and i want to use one tool to run vba macro developed by me. vbarun test1 where test1 is the macro name which needs to be run when i click on one of my tool. Thanks satya Satya, I do the same thing and I use this format for running the code. (Your code name was placed in the example): This next line goes in the "Command String" Line ^C^C-vbarun;Project.dvb!Module1.Test1 Hope this helps! Zen Quote
rajuks Posted October 15, 2008 Author Posted October 15, 2008 Thank you very much for your reply and suggestions. i have adopted your suggestions and it is successfully running. thanks once again. satya Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.