|
-
Jun 16th, 2004, 11:47 PM
#1
Thread Starter
New Member
problem exporting to excel... please help me....
Hi all,
I have create a program using VB6, I used Win XP & Office XP. The problem is when I used it in Win 98 & Office XP I can't export my data from VB to excel. Here is the source code:
Dim excApp as Excel.Application
Private Sub Form_Load()
set excApp = new Excel.Application
excApp.Workbooks.Add
excApp.ActiveWorkbook.ActiveSheet.Cells(1,1).Value="TEST"
set excApp = Nothing
End Sub
I got no problem at all in WinXP, but in Win98 I got error "Error Automation"... anyone please help me asap....
thanx a lot guys..
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
|