Copying Data between Workbooks

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

As new versions of a spreadsheet system are released, I
would like to add a button that will allow a user to
select the previous version ( file locations and name ) of
the program and then have excel import the relevant data
from that workbook to the new workbook.

Any help would be appreciated.

Thanks
 
You are a bit frugal with your info, why not just use

filename=Application.getopenfilename("Excel Files (*.xls), *.xls")

you could also use an inputbox where you would put the path name etc

However if you know where the old workbook is why not just hard code the
macro to open the old file?


--


No private emails please, for everyone's
benefit keep the discussion in the newsgroup.

Regards,

Peo Sjoblom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top