ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   sendkeys problem (https://www.excelbanter.com/excel-programming/332121-sendkeys-problem.html)

jmoffat[_17_]

sendkeys problem
 

I am trying to use the sendkeys function to add an ftp site.

the code:

Application.SendKeys "%fa%if{DOWN}~"

produces the necessary "Add/Modify ftp Locations" dialogue panel.

BUT if I try:

Application.SendKeys "%fa%if{DOWN}~myserver.mydomain.com"

nothing appears in the required domain name entry field.


Any ideas

--
jmoffa
-----------------------------------------------------------------------
jmoffat's Profile: http://www.excelforum.com/member.php...nfo&userid=115
View this thread: http://www.excelforum.com/showthread.php?threadid=38009


K Dales[_2_]

sendkeys problem
 
When you get to the end of this:
Application.SendKeys "%fa%if{DOWN}~"
is the cursor in the domain name entry field? It needs to be there if you
want to enter text into it - sometimes it takes some {TAB}s to get there.

"jmoffat" wrote:


I am trying to use the sendkeys function to add an ftp site.

the code:

Application.SendKeys "%fa%if{DOWN}~"

produces the necessary "Add/Modify ftp Locations" dialogue panel.

BUT if I try:

Application.SendKeys "%fa%if{DOWN}~myserver.mydomain.com"

nothing appears in the required domain name entry field.


Any ideas ?


--
jmoffat
------------------------------------------------------------------------
jmoffat's Profile: http://www.excelforum.com/member.php...fo&userid=1151
View this thread: http://www.excelforum.com/showthread...hreadid=380090




All times are GMT +1. The time now is 07:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com