nickj
July 17th, 2005, 02:43 AM
I feel like a twat for asking and telling you all this but I have to…
After reformatting my Hard drive because of a &#%^ worm or something and not backing up my VB.Net files(I know, I know…) I lost all me notes/code on a project I was working on.
For now I need the code for opening an excel file from a button on a form, the excel file has already been created I just cant find the code to open the file from a click of a button
Dim MyXl As Excel.Application
Dim MyBook As Excel.Workbook
Dim MySheet As Excel.Worksheet
???????("C:\,,,\Mydoc.xls")
Quick tip for all that read this…
Back up your files…. NOW or loose 2 months of coding (and considering I’m a beginner at this, it hurts even more)
Thanks guys
After reformatting my Hard drive because of a &#%^ worm or something and not backing up my VB.Net files(I know, I know…) I lost all me notes/code on a project I was working on.
For now I need the code for opening an excel file from a button on a form, the excel file has already been created I just cant find the code to open the file from a click of a button
Dim MyXl As Excel.Application
Dim MyBook As Excel.Workbook
Dim MySheet As Excel.Worksheet
???????("C:\,,,\Mydoc.xls")
Quick tip for all that read this…
Back up your files…. NOW or loose 2 months of coding (and considering I’m a beginner at this, it hurts even more)
Thanks guys