Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
SendKeys variable
In Excel2000, I have the following code ...
Application.SendKeys "alk51", True This code sends my password to another application. The problem is that I have this code in many places since I am running many reports from this application. Can I use a variable with SendKeys so that I only have to change my password once? Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
SendKeys variable
create a password string constant?
dim strPassword as string strPassword = "alk51" and then in the application: Application.SendKeys strPassword, True "snax500" wrote: In Excel2000, I have the following code ... Application.SendKeys "alk51", True This code sends my password to another application. The problem is that I have this code in many places since I am running many reports from this application. Can I use a variable with SendKeys so that I only have to change my password once? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
SendKeys Help | Excel Programming | |||
Always Sendkeys... | Excel Programming | |||
SendKeys | Excel Programming | |||
Sendkeys | Excel Programming | |||
SendKeys? | Excel Programming |