Otvori datoteku s VB6

K

keeloq

Guest
Želim otvoriti datoteku npr. "C: / test.xls" koristeći gumb naredbe .. bilo koji primjer koda ..

 
Ex ..Kod za otvaranje Excel datoteke.

Dim nFile Kao Excel.Application

Postavite nFile = Nova Excel.Application
nFile.Workbooks.Open "C: / test.xls"

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

My Favorite Embedded hardvera

http://www.embedded-hardware.com
Last edited by Jonathan_T na 02 May 2007 18:49; edited 1 time in total

 
Pišem kao što je ovaj ..

Dim nFile Kao Excel.Application

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

ali to ne radi .. help!

 

Welcome to EDABoard.com

Sponsor

Back
Top