View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
N10 N10 is offline
external usenet poster
 
Posts: 141
Default need code to open new excel workbook

Try this in yer button with an appropriate file name


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

End Sub

best N10 :)


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




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.762 / Virus Database: 510 - Release Date: 13/09/2004