ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   GetOpenFilename (https://www.excelbanter.com/excel-programming/290451-getopenfilename.html)

wolfgang

GetOpenFilename
 
i want to use this method for the user to select a
specific file in their directory. from that file
(ChakahKahn.xls) i need a macro to copy range A1:J10 into
the active workbook (WangChung), onto sheets
("Sheet1").Range("A1:J10"). the worknook ChakahKahn.xls
is not open. TIA.

Dick Kusleika[_3_]

GetOpenFilename
 
Wolfgang

No you don't. That method should be used when you want the user to select a
file. If you know which file you want to select, then you don't need
GetOpenFileName.

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Wolfgang" wrote in message
...
i want to use this method for the user to select a
specific file in their directory. from that file
(ChakahKahn.xls) i need a macro to copy range A1:J10 into
the active workbook (WangChung), onto sheets
("Sheet1").Range("A1:J10"). the worknook ChakahKahn.xls
is not open. TIA.





All times are GMT +1. The time now is 10:14 AM.

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