Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Importing Text file from a server


I need to import text files from a server which requires an ID and password. I tried using ActiveSheet.QueryTables.Add(Connection:= "TEXT; ftp://10.83.238.151 " , Destination:=Range("A1")) to do it but everytime when I try running the macro again after closing the excel application, I will get an error msg which I believe is due to the password being removed. I need to enter the password again at DataImport External DataImport Data Add/Modify FTP Location ... before I can import the text file. Is there any way I can incorporate this into my macro so that I do not have to keep entering the password everytime?? Any form of help is appreciated. Thanks
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
Importing CSV file (saved as Text) into XL as Text -- over 60 colu sbp Excel Discussion (Misc queries) 1 October 14th 06 11:50 PM
Importing text file, only option to edit existing file smokey99 Excel Discussion (Misc queries) 8 April 26th 06 09:08 PM
Importing Text File Bean123r Excel Discussion (Misc queries) 3 July 20th 05 10:20 PM
importing text file, removing data and outputting new text file Pal Excel Programming 8 February 27th 04 08:32 PM
Importing data from an Excel file on a web server using ADO/VBA Dean Frazier Excel Programming 0 November 13th 03 12:39 AM


All times are GMT +1. The time now is 08:02 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"