Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Using Office 2003 and Windows XP.
I have a loading program that is designed to open an Access DB and then Excel closes itself. It works, but when Access opens, the initial window is small, then it maximizes, but the Main Menu remains the size of the small window that initially opened. So every time this runs, the users will have to resize this tiny menu so they can see everything. Does anyone have a clue how to fix this? My code: Dim oAccessApp As Object Set oAccessApp = GetObject(csFullNameDestin, "Access.Application") oAccessApp.Visible = True oAccessApp.DoCmd.RunCommand 10 '10 = acCmdAppMaximize Thanks much. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, you can try the following snippet, Shell "C:\Program Files\Microsoft
Office\OFFICE11\MSACCESS.EXE" & Your filename. I hope this helps you. "XP" wrote: Using Office 2003 and Windows XP. I have a loading program that is designed to open an Access DB and then Excel closes itself. It works, but when Access opens, the initial window is small, then it maximizes, but the Main Menu remains the size of the small window that initially opened. So every time this runs, the users will have to resize this tiny menu so they can see everything. Does anyone have a clue how to fix this? My code: Dim oAccessApp As Object Set oAccessApp = GetObject(csFullNameDestin, "Access.Application") oAccessApp.Visible = True oAccessApp.DoCmd.RunCommand 10 '10 = acCmdAppMaximize Thanks much. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel 2007 doesn't open correctly DBF file | Setting up and Configuration of Excel | |||
Open HTML file, but doesn't copy correctly | Excel Worksheet Functions | |||
Macro to open files isn't updating correctly | Excel Discussion (Misc queries) | |||
Automating Access / Excel with batch file | Excel Programming | |||
Automating Access from Excel | Excel Programming |