Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Possible to create XL file then run XL VBA (to format & filter XL file) from Access VBA?

2003

Is it possible to create XL file then run XL VBA (to format & filter XL file) from Access VBA?

If so, what is a high-level approach?

What I mean, does the XL VBA need to be in an Access VBA module?
Can I insert an XL VBA module from an Access VBA module then run it from the Access VBA?

TIA EagleOne
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Possible to create XL file then run XL VBA (to format & filter XL

Hi,

You can run Excel VBA code from inside of Access. What you will need to do
is reference the Excel VBA library in the Access VBE. This is done under
Tools, References in the Access VBE. I have to say that this technique is
not common but the is at least one book on the market which covered this
topic - Office VBA, but its been 8 years since I've seen it. You might try
searching Amazon for Office VBA. I believe it was a Microsoft Press
publication.

--
Cheers,
Shane Devenshire
Microsoft Excel MVP
Join http://setiathome.berkeley.edu/ and download a free screen saver to
help search for life beyond earth.

" wrote:

2003

Is it possible to create XL file then run XL VBA (to format & filter XL file) from Access VBA?

If so, what is a high-level approach?

What I mean, does the XL VBA need to be in an Access VBA module?
Can I insert an XL VBA module from an Access VBA module then run it from the Access VBA?

TIA EagleOne

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
VBA Access lost after 2007 file format compatibility pack installe roanokesys Excel Discussion (Misc queries) 2 May 24th 07 11:49 AM
Time/ Number format on excel file exported from Access Joe[_3_] Excel Discussion (Misc queries) 1 April 18th 07 02:12 AM
How do you change format on Excel .CSV file to import to access Matt Excel Discussion (Misc queries) 1 January 17th 07 11:04 PM
I need to create a file in the .iif format from Excel Template wizards for data consolidating Excel Discussion (Misc queries) 2 October 4th 06 05:56 PM
Changing the format of an Excel output file made by Microsoft Access Amir Excel Discussion (Misc queries) 2 May 1st 05 12:57 AM


All times are GMT +1. The time now is 04:44 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"