• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 496
  • Last Modified:

Excel 2010 - EOF line

Dear Experts,

Can you please have a short look on the attached picture, in the last row of a file there is a EoF sign something. Do you have maybe idea what does it mean?

This file is refreshed everyday by a txt file, with steps
1) Open yesterday excel file
2) Right click on any cell and selecting Refresh
3) Pop-up window comes up to select a .txt file
4) Selecting the .txt those rows are coming to the sheet

Basically I can not see any macro in the file, maybe it is not allowed to see I am not sure. Do you think such kind of right click/refresh and selecting .txt is a method to initiate a macro run, or maybe some other method?

thanks,
EoF.jpg
0
csehz
Asked:
csehz
  • 3
  • 2
1 Solution
 
Rory ArchibaldCommented:
I imagine you are using a data query to import the data from the file, and I would assume that EOF appears as the last line in the text file.
0
 
csehzIT consultantAuthor Commented:
Thanks so basically maybe such .txt import is solved without any vba code? Or that is not possible and has to be with vba
0
 
Rory ArchibaldCommented:
No need for VBA. Click the Data tab, choose 'From Text' in the 'Get external data' group, and you can set up a query to a text file. That sounds like what you have.
0
 
csehzIT consultantAuthor Commented:
Thanks I was able to follow and really there is an Edit Query there. So it sounds the same like defining Import specification in Access

thanks very much,
0
 
csehzIT consultantAuthor Commented:
So just for me such file is easy to do, Opening new workbook, Data/From Text defining the .txt path and type of the columns, defining the place of the first cell. Saving this excel file and right clicking on any cell, appears the Refresh in small menu and asking the .txt path again
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now