need code to open new excel workbook

  • Thread starter Thread starter ivan
  • Start date Start date
I

ivan

created a vb button in excel but want it to open an excisting workbook
tryed macro didnt work ? please help need code "beginner"
 
Record a macro

Workbooks.Open Filename:="C:\bk1\h\excel2k\merge.xls"



--
 
Try this in yer button with an appropriate file name


Sub Macro1()
'
Workbooks.Open Filename:="C:\MYWORKBOOK.xls"

End Sub

best N10 :)
 

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