Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
does anyone know what is wrong with this? I am trying to run 2 access macros
from excel? thanks in advance for any help on this! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use the run command.
-- Regards, Tom Ogilvy "Blondie" wrote in message ... does anyone know what is wrong with this? I am trying to run 2 access macros from excel? thanks in advance for any help on this! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
http://support.microsoft.com/?id=177760
I doubt it supports a macro name like: "Macro1: Get Data" -- Regards, Tom Ogilvy "Heather" wrote in message ... Here's what I have but it's not working Dim appAcc As Access.Application 'Opens Access or gets reference to app already running Set appAcc = New Access.Application 'Optional to show or hide Access appAcc.Visible = True appAcc.OpenAccessProject "P:\Analytic\Heather\Individual\IndividualTurnover Report.mdb" appAcc.DoCmd.RunMacro "Macro1: Get Data" appAcc.DoCmd.RunMacro "Macro2: Create Report" 'Close Access appAcc.Quit 'This will close Access, even w/o the 'Quit' command Set appAcc = Nothing End Sub "Tom Ogilvy" wrote: Use the run command. -- Regards, Tom Ogilvy "Blondie" wrote in message ... does anyone know what is wrong with this? I am trying to run 2 access macros from excel? thanks in advance for any help on this! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
Drop Down/List w/Code and Definition, only code entered when selec | Excel Worksheet Functions | |||
Shorten code to apply to all sheets except a few, instead of individually naming them, and later adding to code. | Excel Programming | |||
Protect Sheet with code, but then code will not Paste error. How do i get around this. Please read for explainations.... | Excel Programming | |||
Excel code convert to Access code - Concat & eliminate duplicates | Excel Programming |