Atvērt failu ar VB6

K

keeloq

Guest
Es gribu atvērt failu, piemēram, "C: / test.xls", izmantojot komandu pogas .. jebkurā piemēram kods ..

 
Ex ..Kods atvērt Excel failu.

Dim nFile As Excel.Application

Set nFile = Jaunas Excel.Application
nFile.Workbooks.Open "C: / test.xls"

-------------------------------------------------- ---------

My Favorite Embedded hardware

http://www.embedded-hardware.com
Last edited by Jonathan_T on 02 drīkst 2007 17:49 labots 1 reizes

 
Es rakstu kā šis ..

Dim nFile As Excel.Application

Private Sub Command1_Click ()
Set nFile = Jaunas Excel.Application
nFile.Workbooks.Open "C: / test.xls"
End Sub

bet tas nedarbojas .. help!

 

Welcome to EDABoard.com

Sponsor

Back
Top