Thread: Open Dialog Box
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MichaelR MichaelR is offline
external usenet poster
 
Posts: 38
Default Open Dialog Box

Hi,

I'm trying to write a macro that will update a workbook by importing a sheet
from a computer file that is generated daily. The name of the file is the
date and the time that it was downloaded so it is always going to be
different.

The way that my macro is written now, it asks the user to input the name of
the workbook using the "inputbox" function and then opens that file. I would
like to make the macro even more user friendly by just prompting the user to
double click on the file and then getting the macro to import the worksheet
from the specified workbook. Is this even possible and if so, how would I
write the code for it?

Thank you in advance for your time.
Michael