ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Open File Dialog Box (https://www.excelbanter.com/excel-programming/333493-open-file-dialog-box.html)

Tha BeatMaker[_8_]

Open File Dialog Box
 

I want to run a macro from Workbook1 which will
1) open the "Open File" dialog box
2) allow the user to select another Workbook (Workbook2)
3) copy and paste information from Workbook1 into Workbook2

My main problem is the Open File box. I know how to do step 3 but am
clueless about steps 1 and 2.


--
Tha BeatMaker
------------------------------------------------------------------------
Tha BeatMaker's Profile: http://www.excelforum.com/member.php...o&userid=23998
View this thread: http://www.excelforum.com/showthread...hreadid=384114


Bob Phillips[_6_]

Open File Dialog Box
 
Look at GetOpenFilename in VBA help.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Tha BeatMaker"
wrote in message
news:Tha.BeatMaker.1rkbqc_1120341903.411@excelforu m-nospam.com...

I want to run a macro from Workbook1 which will
1) open the "Open File" dialog box
2) allow the user to select another Workbook (Workbook2)
3) copy and paste information from Workbook1 into Workbook2

My main problem is the Open File box. I know how to do step 3 but am
clueless about steps 1 and 2.


--
Tha BeatMaker
------------------------------------------------------------------------
Tha BeatMaker's Profile:

http://www.excelforum.com/member.php...o&userid=23998
View this thread: http://www.excelforum.com/showthread...hreadid=384114





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

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