There is a good example at
http://www.exceluser.com/biz/h_vba_textcols.htm. VBA Help also has
pretty good documentation on the functions & statements you need to use
to read from text files (Open, Input, EOF, etc).
Regards,
Steve
cimbom wrote:
> Hi all,
> I am trying to create a macro that can update the entire sheet. I have
> this data entry sheet and I also have a data.xls file that is converted
> from a text file. This data.xls file changes every month. So, instead
> of typing all those numbers every month into the data entry sheet,
> which is a different workbook, I want to create such a macro that when
> I run it, it should load all the numbers for the new month into the
> data entry sheet.
> If I make a user form in Macro and add a button and a text box to it,
> what would the overall code be?
> This way, if the user wants to see a certain month, he types it into
> the text box and clicks on the button and the sheet will load the
> numbers of that month.
>
> You can email me @(E-Mail Removed)
> I would be so happy if you guys help me out. Thank you !