G
Guest
Hello,
I write most of my code in public modules. All of my queries are transfered
into SQL strings and placed in the public module (often to private modules
also).
When using Access 97 (old days) I used "Autokeys" to hit, for example,
"{F5}" which would run a Macro that would fire "Sendkeys" to automatically
insert the SQL string syntax into the class module :
For Example:
Sendkeys "strsql = strsql & "
Sendkeys "{Down}
Sendkeys "strsql = strsql & "
Sendkeys "{Down}
This save me many many many keystrokes typing: strsql = strsql & "
Since Access 97 I have Access no longer, for some reason, allows you to fire
macros in a class module (Or Private) using Auotkeys. Since then, I have to
type this string manually and have nightmares about typing it over and over
again (strsql = strsql & ")!
Here is my question.
How can a fire macros using autokeys (or any other method) while developing
in a private or class module so that I can automatically insert this string?
PS : I have even tried using IBM via voice (voice recognition software) to
fire via voice macros with some sucess. However this introduced other
problems (ie If I coughed into the microphone, it would initiate viruses!)
Thank you in advance if you have an answer to this one.
Ross
I write most of my code in public modules. All of my queries are transfered
into SQL strings and placed in the public module (often to private modules
also).
When using Access 97 (old days) I used "Autokeys" to hit, for example,
"{F5}" which would run a Macro that would fire "Sendkeys" to automatically
insert the SQL string syntax into the class module :
For Example:
Sendkeys "strsql = strsql & "
Sendkeys "{Down}
Sendkeys "strsql = strsql & "
Sendkeys "{Down}
This save me many many many keystrokes typing: strsql = strsql & "
Since Access 97 I have Access no longer, for some reason, allows you to fire
macros in a class module (Or Private) using Auotkeys. Since then, I have to
type this string manually and have nightmares about typing it over and over
again (strsql = strsql & ")!
Here is my question.
How can a fire macros using autokeys (or any other method) while developing
in a private or class module so that I can automatically insert this string?
PS : I have even tried using IBM via voice (voice recognition software) to
fire via voice macros with some sucess. However this introduced other
problems (ie If I coughed into the microphone, it would initiate viruses!)
Thank you in advance if you have an answer to this one.
Ross