I´m not an expert on creating macros, but with help found here i managed to create a button that imports a text file to a specific sheet Works perfectly in my testruns on Office 2010, but in office 2013 i get the dreaded "Out of memory"
This is my coding..Debugger tells me the problem is the last line (.Refresh BackgroundQuery:=False)
I suspect it´s because excel opens the file, but doesn´t drop the connection after the text import.
In a perfect world, the user should only press the button ONCE, but sometimes they forget that, and presses it more than once, thus opening a new connection each time.Please Login or Register to view this content.
Bookmarks