Forum Discussion
Korbinian_Heim
Oct 11, 2023Copper Contributor
EXCEL VBA - Importing and formating a TXT file to a existing table
Hey Guys, I'm new to VBA and advanced Excel use. There is a little project I'd like to achieve and maybe some of you are able to help out with some tips 🙂 My goal is to extract data out a tx...
Korbinian_Heim
Oct 12, 2023Copper Contributor
Thank you very much for the answer!
When I try running the script I get a runtime error 52 and the debugger does mark a line of the code in yellow:
txtData = Input(LOF(1), 1)
Do I need to define the file which is opened to be file number one?
Thanks 🙂
When I try running the script I get a runtime error 52 and the debugger does mark a line of the code in yellow:
txtData = Input(LOF(1), 1)
Do I need to define the file which is opened to be file number one?
Thanks 🙂
rafalk213
Mar 31, 2024Copper Contributor
txtData = Input$(LOF(1), 1)