Jump to content

Recommended Posts

Posted

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

Posted

I'm no expert but I have some that use this to call Vba command:

^C^C(command "vbastmt" "test1")

Posted
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

Posted

Thank you very much for your reply and suggestions. i have adopted your suggestions and it is successfully running.

 

thanks once again.

 

satya

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...