Hi -
I have a recorded macro of the Get External Data - From Text but I noticed that when after saving and when I open again the file its always taking the longer to load?
Is there some kind of explanation for this?
Thank you
Hudas
Hi -
I have a recorded macro of the Get External Data - From Text but I noticed that when after saving and when I open again the file its always taking the longer to load?
Is there some kind of explanation for this?
Thank you
Hudas
Do you still have a connection to the text file?
Have you tried using OpenTextFile?
If posting code please use code tags, see here.
Hi Norie
Not sure what you mean but below is the code that i record and made some changes on.
Thank youPlease Login or Register to view this content.
Your code sets up a connection to the text file.
That connection could be being refreshed when you open the workbook, hence the slow opening.
Either break the connection or use a method of import that doesn't create one in the first place, eg OpenTextFile.
Hi Norie
I added this to code above. I think this solves the problem.
Thank youPlease Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks