Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default text file from url referring site

I have a macro that will import data from a text file on my website. The
problem is this: if I use the name of the website in the macro
www.mywebsite.com/file.txt it won't get the update since the website is
actually at: home.rr.com/smiths/file.txt. The reason I want to be able to
use the www.mywebsite.com is my website may not always be hosted on
home.rr.com. I have in the macro a url string that gets the first part from
a cell in the worksheet (populated by the url update so I can change where it
looks for the txt file), again, it all works fine if I put home.rr.com/smiths
for example. My guess is when the macro looks for www.mywebsite.com/file.txt
and since via a web-browser it refers it to the site hosting it
home.rr.com/smiths/file.txt, that's where the macro stops? How can I get
through this? Again, I want this functionality since my site may change
locations, but the name will always be the same. the website names I used
here are not the actual names but it gives the scenerio. Any input is
appreciated.

Mike
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
referring to sheet in another file Tami Excel Worksheet Functions 1 May 31st 08 04:33 PM
referring to a sheet in another file Tami Excel Worksheet Functions 1 May 31st 08 01:56 PM
Referring to a variable file name Brettjg Excel Discussion (Misc queries) 4 March 3rd 07 11:18 AM
referring to a cell containing a file name [email protected] Excel Discussion (Misc queries) 2 December 4th 06 05:03 PM
Referring to a worksheet in another file. Ed Excel Programming 2 September 22nd 06 01:50 AM


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