Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to open files with VB6?

Status
Not open for further replies.

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..
 

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

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!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top