May 28, 2002 #1 BChumie Programmer Jan 11, 2002 130 US Is it possible to run VB for excel in an Access module? I am running office 97 - soon to be upgrading to 2000. Any advice would be greatly appreciated. Brad
Is it possible to run VB for excel in an Access module? I am running office 97 - soon to be upgrading to 2000. Any advice would be greatly appreciated. Brad
May 28, 2002 1 #2 KyleS Programmer Oct 23, 2001 619 US Sure, just open up Excel and tell it to run your macro Dim tmpApp As New Excel.Application tmpApp.Workbooks.Open FileName:="FileName", ReadOnly:=False, ignorereadonlyrecommended:=True tmpApp.visible = True tmpApp.Run "MacroName" tmpApp.Close Set tmpApp = Nothing Kyle Upvote 0 Downvote
Sure, just open up Excel and tell it to run your macro Dim tmpApp As New Excel.Application tmpApp.Workbooks.Open FileName:="FileName", ReadOnly:=False, ignorereadonlyrecommended:=True tmpApp.visible = True tmpApp.Run "MacroName" tmpApp.Close Set tmpApp = Nothing Kyle