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.

VB6 Problem Again!! Run Time Error and Automation Error

Status
Not open for further replies.

otakung

Junior Member level 3
Joined
Jan 14, 2003
Messages
31
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
278
VB6 Problem Again!!

I use WinXP & Office XP for run VB6 & add Microsoft Excel Object Library 10.0 to run this code. =>

Dim objExcel as Excel.Application
Set objExcel = New Excel.Application
objExcel.SheetsInNewWorkBook = 1
objExcel.WorkBooks.Add
objExcel.Visible = True
objExcel.Cells(1,1) = "Name"

It can run properly because I can see in Excel, but when I use this code with Win98 & Office 97. It says "Run Time Error" & "Automation Error".
How should I do for this case?
 

1. this site is not PC programming site and i think programming section is only for electronic

2. better way to resolve vb problem forget VB and move to DELPHI :wink:
 

sorry for that!
I don't know this is not PC programming,
sorry.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top