Problem with Excel Addins

T

ThunderTek

Here is my code line:
Dim objXL As Object
Set objXL = CreateObject("Excel.Application")
objXL.Workbooks.Open (objXL.LibraryPath & "\AtData.XLA") '.RunAutoMacros 1
objXL.Workbooks.Open "C:\AlkyLabData.xls"
objXL.Visible = False

DoCmd.TransferSpreadsheet , , "TestingImportData2", "C:\AlkyLabData.xls", True

Me.Requery
DoCmd.GoToRecord , , acLast
objXL.Quit
Set objXL = Nothing


I am attempting to automate open Excel from Access, but in order for Excel
to do what I need....I have to install an addin. The problem that I am
getting is that the addin is opening another instance of Excel. After Excel
is opened and the addin installed, I then need to calculate the data on Excel
and import the data into Access. I would like this to happen without any
user input. Is this task even possible?
 
H

Harlan Grove

ThunderTek said:
I am attempting to automate open Excel from Access, but in order for Excel
to do what I need....I have to install an addin. The problem that I am
getting is that the addin is opening another instance of Excel. After
Excel
is opened and the addin installed, I then need to calculate the data on
Excel
and import the data into Access. I would like this to happen without any
user input. Is this task even possible?

*.office.misc is most definitely not the right newsgroup for this question.
Use the Excel programming newsgroup.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top