ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA: Opening a .txt chosen by the user (https://www.excelbanter.com/excel-programming/361669-vba-opening-txt-chosen-user.html)

[email protected]

VBA: Opening a .txt chosen by the user
 
I've found out how to open a .txt using VBA, but does anyone have ideas
how I can prompt the user to find the correct .txt for importing data,
as the location of their data would probably change depending upon
where they last saved it?

Thanks,
Lucas


[email protected]

VBA: Opening a .txt chosen by the user
 
answer found:
http://groups.google.com/group/micro...bff2c134d 418


Tim Williams

Opening a .txt chosen by the user
 
look at application.getopenfilename

Tim


wrote in message oups.com...
I've found out how to open a .txt using VBA, but does anyone have ideas
how I can prompt the user to find the correct .txt for importing data,
as the location of their data would probably change depending upon
where they last saved it?

Thanks,
Lucas





All times are GMT +1. The time now is 08:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com