PC Review


Reply
Thread Tools Rate Thread

Automating a process that uses an add-in

 
 
Leo Demarce
Guest
Posts: n/a
 
      3rd Apr 2009
I have a process that I do repeatedly that I would like to create a macro for
but can't figure out how. There is an add-in command that can be called by
using the keyboard shortcut of CTRL+SHIFT+V. This command bring up a dialog
box that all I want to do is select the OK button which can be called by
using the keyboard shortcut of ALT+O.

In other words, the manual process is
CTRL+SHIFT+V
ALT+O

Thanks in advance for any input.
Cheers
Leo
 
Reply With Quote
 
 
 
 
jasontferrell
Guest
Posts: n/a
 
      3rd Apr 2009
Sub test()
SendKeys "^+v", True
SendKeys "%o", True
End Sub

You might also need to add a pause in the middle, something like:
Application.Wait Now() + TimeValue("0:00:01")
 
Reply With Quote
 
Leo Demarce
Guest
Posts: n/a
 
      3rd Apr 2009
Perhaps I can add more info here. The first part of the macro was to record
CTRL+SHIFT+V which created the code below. Now that the dialog box is up how
do I send the command ALT+O (the ok button on the form).

Cheers

Application.Run "xFRView"



"Leo Demarce" wrote:

> I have a process that I do repeatedly that I would like to create a macro for
> but can't figure out how. There is an add-in command that can be called by
> using the keyboard shortcut of CTRL+SHIFT+V. This command bring up a dialog
> box that all I want to do is select the OK button which can be called by
> using the keyboard shortcut of ALT+O.
>
> In other words, the manual process is
> CTRL+SHIFT+V
> ALT+O
>
> Thanks in advance for any input.
> Cheers
> Leo

 
Reply With Quote
 
Jim Cone
Guest
Posts: n/a
 
      3rd Apr 2009
Is it a dialog box or a userform?
In any case, have you tried the enter key?
--
Jim Cone
Portland, Oregon USA



"Leo Demarce"
<(E-Mail Removed)>
wrote in message
Perhaps I can add more info here. The first part of the macro was to record
CTRL+SHIFT+V which created the code below. Now that the dialog box is up how
do I send the command ALT+O (the ok button on the form).

Cheers

Application.Run "xFRView"



"Leo Demarce" wrote:

> I have a process that I do repeatedly that I would like to create a macro for
> but can't figure out how. There is an add-in command that can be called by
> using the keyboard shortcut of CTRL+SHIFT+V. This command bring up a dialog
> box that all I want to do is select the OK button which can be called by
> using the keyboard shortcut of ALT+O.
>
> In other words, the manual process is
> CTRL+SHIFT+V
> ALT+O
>
> Thanks in advance for any input.
> Cheers
> Leo

 
Reply With Quote
 
Leo Demarce
Guest
Posts: n/a
 
      3rd Apr 2009
Thanks Jim,

I think it would be a userform
I did try the enter key, but it doesn't do it, only the ALT+O
Cheers

"Jim Cone" wrote:

> Is it a dialog box or a userform?
> In any case, have you tried the enter key?
> --
> Jim Cone
> Portland, Oregon USA
>
>
>
> "Leo Demarce"
> <(E-Mail Removed)>
> wrote in message
> Perhaps I can add more info here. The first part of the macro was to record
> CTRL+SHIFT+V which created the code below. Now that the dialog box is up how
> do I send the command ALT+O (the ok button on the form).
>
> Cheers
>
> Application.Run "xFRView"
>
>
>
> "Leo Demarce" wrote:
>
> > I have a process that I do repeatedly that I would like to create a macro for
> > but can't figure out how. There is an add-in command that can be called by
> > using the keyboard shortcut of CTRL+SHIFT+V. This command bring up a dialog
> > box that all I want to do is select the OK button which can be called by
> > using the keyboard shortcut of ALT+O.
> >
> > In other words, the manual process is
> > CTRL+SHIFT+V
> > ALT+O
> >
> > Thanks in advance for any input.
> > Cheers
> > Leo

>

 
Reply With Quote
 
Another Jim
Guest
Posts: n/a
 
      25th Jun 2009

Did anyone ever figure this out? I'm a novice with VB and I have an Add-in
to Excel that I need to activate using a macro. To activate it, I need to
use ALT+A, but I can't figure out how to send this command.
thanks much,
Another Jim

"Leo Demarce" wrote:

> Thanks Jim,
>
> I think it would be a userform
> I did try the enter key, but it doesn't do it, only the ALT+O
> Cheers
>
> "Jim Cone" wrote:
>
> > Is it a dialog box or a userform?
> > In any case, have you tried the enter key?
> > --
> > Jim Cone
> > Portland, Oregon USA
> >
> >
> >
> > "Leo Demarce"
> > <(E-Mail Removed)>
> > wrote in message
> > Perhaps I can add more info here. The first part of the macro was to record
> > CTRL+SHIFT+V which created the code below. Now that the dialog box is up how
> > do I send the command ALT+O (the ok button on the form).
> >
> > Cheers
> >
> > Application.Run "xFRView"
> >
> >
> >
> > "Leo Demarce" wrote:
> >
> > > I have a process that I do repeatedly that I would like to create a macro for
> > > but can't figure out how. There is an add-in command that can be called by
> > > using the keyboard shortcut of CTRL+SHIFT+V. This command bring up a dialog
> > > box that all I want to do is select the OK button which can be called by
> > > using the keyboard shortcut of ALT+O.
> > >
> > > In other words, the manual process is
> > > CTRL+SHIFT+V
> > > ALT+O
> > >
> > > Thanks in advance for any input.
> > > Cheers
> > > Leo

> >

 
Reply With Quote
 
Patrick Molloy
Guest
Posts: n/a
 
      27th Jun 2009

did you try SENDKEYS ?

"Another Jim" <Another (E-Mail Removed)> wrote in message
news41968FB-58D1-44CD-B357-(E-Mail Removed)...
> Did anyone ever figure this out? I'm a novice with VB and I have an
> Add-in
> to Excel that I need to activate using a macro. To activate it, I need to
> use ALT+A, but I can't figure out how to send this command.
> thanks much,
> Another Jim
>
> "Leo Demarce" wrote:
>
>> Thanks Jim,
>>
>> I think it would be a userform
>> I did try the enter key, but it doesn't do it, only the ALT+O
>> Cheers
>>
>> "Jim Cone" wrote:
>>
>> > Is it a dialog box or a userform?
>> > In any case, have you tried the enter key?
>> > --
>> > Jim Cone
>> > Portland, Oregon USA
>> >
>> >
>> >
>> > "Leo Demarce"
>> > <(E-Mail Removed)>
>> > wrote in message
>> > Perhaps I can add more info here. The first part of the macro was to
>> > record
>> > CTRL+SHIFT+V which created the code below. Now that the dialog box is
>> > up how
>> > do I send the command ALT+O (the ok button on the form).
>> >
>> > Cheers
>> >
>> > Application.Run "xFRView"
>> >
>> >
>> >
>> > "Leo Demarce" wrote:
>> >
>> > > I have a process that I do repeatedly that I would like to create a
>> > > macro for
>> > > but can't figure out how. There is an add-in command that can be
>> > > called by
>> > > using the keyboard shortcut of CTRL+SHIFT+V. This command bring up a
>> > > dialog
>> > > box that all I want to do is select the OK button which can be called
>> > > by
>> > > using the keyboard shortcut of ALT+O.
>> > >
>> > > In other words, the manual process is
>> > > CTRL+SHIFT+V
>> > > ALT+O
>> > >
>> > > Thanks in advance for any input.
>> > > Cheers
>> > > Leo
>> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automating a web process Janet Heath Microsoft VB .NET 2 4th Nov 2009 01:44 PM
Automating A Process Ray S. Microsoft Access 4 29th Sep 2008 02:53 PM
Automating The Printing Process =?Utf-8?B?Qm9iIEIu?= Microsoft Access VBA Modules 1 11th Aug 2006 10:52 AM
automating process =?Utf-8?B?TWljaGFlbCBMaW5kZWt1Z2Vs?= Microsoft Access 4 23rd May 2006 03:24 PM
automating process =?Utf-8?B?TWljaGFlbCBMaW5kZWt1Z2Vs?= Microsoft Access 0 23rd May 2006 02:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:40 PM.