Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SendKeys syntax problem VBAvirgin New Users to Excel 2 January 4th 06 04:42 PM
sendkeys problem for telnet mike Excel Programming 1 June 15th 05 02:12 PM
Problem with SendKeys + active window Roadie Excel Programming 4 April 26th 04 04:07 PM
SendKeys problem Rod Armour Excel Programming 3 January 23rd 04 10:44 PM
SendKeys and Path Problem rdcord Excel Programming 3 September 11th 03 06:12 PM


All times are GMT +1. The time now is 05:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"