S
Simon Churches
I am having problems opening an Excel document in
Powerpoint using the macro buttons. I have placed a
CommandButton on the sheet and when I edit the code as
such:
Private Sub CommandButton1_Click()
Workbooks.Open FileName:="c:\book1.xls"
End Sub
It does not work. Does anyone know how what the code
should be to open this file?
2nd problem is, can you extract only certain data from
the file. The 1st column is a date column. Can you set it
up so that say on data with a date say May 2004 will be
loaded?
Thank you,
Simon Churches, South Africa
Powerpoint using the macro buttons. I have placed a
CommandButton on the sheet and when I edit the code as
such:
Private Sub CommandButton1_Click()
Workbooks.Open FileName:="c:\book1.xls"
End Sub
It does not work. Does anyone know how what the code
should be to open this file?
2nd problem is, can you extract only certain data from
the file. The 1st column is a date column. Can you set it
up so that say on data with a date say May 2004 will be
loaded?
Thank you,
Simon Churches, South Africa