Apr 5, 2007 #1 K keeloq Newbie level 3 Joined Apr 5, 2007 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,299 I want to open file Example "C:/test.xls" using command button..any example code..
Apr 6, 2007 #2 J Jonathan_T Member level 1 Joined Mar 28, 2007 Messages 33 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Activity points 1,447 Re: Open file with VB6 Ex.. Code for open excel file. Dim nFile As Excel.Application Set nFile = New Excel.Application nFile.Workbooks.Open "C:/test.xls" ----------------------------------------------------------- My Favorite Embedded hardware **broken link removed**
Re: Open file with VB6 Ex.. Code for open excel file. Dim nFile As Excel.Application Set nFile = New Excel.Application nFile.Workbooks.Open "C:/test.xls" ----------------------------------------------------------- My Favorite Embedded hardware **broken link removed**
Apr 6, 2007 #3 K keeloq Newbie level 3 Joined Apr 5, 2007 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,299 Re: Open file with VB6 i write like this.. Dim nFile As Excel.Application Private Sub Command1_Click() Set nFile = New Excel.Application nFile.Workbooks.Open "C:/test.xls" End Sub but it not work..help!
Re: Open file with VB6 i write like this.. Dim nFile As Excel.Application Private Sub Command1_Click() Set nFile = New Excel.Application nFile.Workbooks.Open "C:/test.xls" End Sub but it not work..help!