A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Office » General Discussions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Problem with Excel Addins



 
 
Thread Tools Display Modes
  #1  
Old January 24th, 2006, 01:09 AM posted to microsoft.public.office.misc
external usenet poster
 
Posts: n/a
Default Problem with Excel Addins

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?
  #2  
Old January 25th, 2006, 05:32 AM posted to microsoft.public.office.misc
external usenet poster
 
Posts: n/a
Default Problem with Excel Addins

"ThunderTek" wrote...
....
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.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Excel Problem..... Sachin Shah General Discussion 0 November 14th, 2005 09:36 AM
suggestion for excel tool option David Coleman General Discussions 7 November 10th, 2005 03:33 AM
Can we import an Excel sheet to use as base for report? StargateFan New Users 9 November 4th, 2005 07:32 PM
Excel selection problem peakscan General Discussion 0 November 4th, 2004 05:49 PM
Excel 2000 & pivot tables problem fpp Worksheet Functions 3 September 10th, 2004 06:27 AM


All times are GMT +1. The time now is 10:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.