Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Running Excel module within Access

Hi:

I have both MS Excel 2003 and Access 2003. I am getting an Excel module
that will connect to the internet and download some information. I will
only use Excel for this single feature. I always work within Access and now
I need to know how to run that Excel module within Access so that I can
import/link and append the records.

Can any show me how to run an Excel module within Access?


Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Running Excel module within Access

This may give you some ideas.

Function Open_Test()
Dim xlApp As Variant
Dim xlBook As Variant
Set xlApp = CreateObject("Excel.Applicatio*n")
Set xlBook = xlApp.Workbooks.Open("C:\data\*excel\Test.xlt")
xlApp.Run "testproc"
xlBook.Close (False)
xlApp.Quit
Set xlApp = Nothing
Set xlBook = Nothing
End Function

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Id10 Terror" wrote:
| Hi:
|
| I have both MS Excel 2003 and Access 2003. I am getting an Excel module
| that will connect to the internet and download some information. I will
| only use Excel for this single feature. I always work within Access and
now
| I need to know how to run that Excel module within Access so that I can
| import/link and append the records.
|
| Can any show me how to run an Excel module within Access?
|
|
| Thanks
|
|


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro in excel to call a access module to run. [email protected] Excel Discussion (Misc queries) 0 April 23rd 07 08:59 PM
Query a Access database that has a module from Excel Oggie Excel Discussion (Misc queries) 1 January 4th 05 08:43 AM
Access Module coded converted to Excel Function Adam Excel Discussion (Misc queries) 1 December 23rd 04 02:48 PM
Getting Access Error Messages when running Access through Excel Dkline[_2_] Excel Programming 0 October 12th 04 09:35 PM
how to call Access function&module in Excel VBA?? miao jie Excel Programming 1 July 24th 04 04:49 PM


All times are GMT +1. The time now is 11:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"