asking for a file
Marie,
Dim Myfilename as String
Myfilename = Application.GetOpenFilename
Workbooks.Open FileName:=MyFilename
Regards,
Kris
-----Original Message-----
Hi, I wondered if there would be a command so that it
asks the user to chose
what file to open.
I've made a program that updates the info in the second
sheet when you press
the button in the first sheet. But I'd need to keep the
result of the
previous month in the second sheet before updating. So
right now, the user
has to copy the information. Is there a way that the
programs open a "open"
box where he selects the excel file and that it copies
it in the 2nd sheet?
(And if you have even better ideas, you may submit it ;-
) )
Thank you.
Marie
.
|