|
-
Aug 6th, 2003, 01:43 AM
#1
Thread Starter
New Member
automation error in win 98
i've coded a program that will generate an excel format in windows XP platform.. But when I run it in windows 98 there is an "automation erro".Is there any patches I can use to solve this prolem?
-
Aug 6th, 2003, 03:44 AM
#2
I'm in the same situation and would like to know if there is a solution.
-
Aug 6th, 2003, 03:55 AM
#3
Differnt version from office installed, office installed at all?
-
Aug 6th, 2003, 04:10 AM
#4
Thread Starter
New Member
I created an excel base format in Office 2000 and when I tested it in win 98 I also created an excel base format in office 97...When I debug the progrma I can't open an excel object.. I do not know why.. Here's the error..
XLapp = nothing
Here's the way I declared my excel object....
Option Explicit
Global DBCONN As ADODB.Connection
Global DBCONNstr As String
Public XLapp As Object
Public XLbook As Object
Is there any other way to declare an excel application?
-
Aug 6th, 2003, 08:21 AM
#5
This is how I have declared Excel..
Code:
Public objExcel As Object 'instead of Excel.Application
Public oXLApp As Object 'instead of Excel.Spreadsheet
-
Aug 7th, 2003, 02:31 AM
#6
Thread Starter
New Member
okay!!! i'll just try to changed the declaration......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|