Sendkeys

  • Thread starter Thread starter jack
  • Start date Start date
I believe the pc must be unlocked in order for SendKeys to work. What are
you trying to do? (possibly a way to do it without SendKeys)
 
I believe the pc must be unlocked in order for SendKeys to work.  What are
you trying to do?  (possibly a way to do it without SendKeys)

I have built a macro to open a ie url, open a form & download a text
file, I need send keys to save down this text file
which only works on a unlocked pc any ideas ? batch files do the same
 
Try opening your ie url, open your form, then getting the full URL of the
text file you are trying to download. Then you can use a separate function
to download the file without using SendKeys. You can find this function at:
http://vbaexpress.com/kb/getarticle.php?kb_id=799

Since this doesn't use SendKeys, it will work even if the computer is locked.

Can you post a link to your site or is it internal only?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top