I know this sounds involved, but it works ... almost
I am using a Hyperlink to run an Excel application which generates a chart
based on a query in the current database. This chart is saved a a GIF file
is linked to an Image control on my form. ( Programming the chart object has
proved far too slow)
The relevant code is
.......
......
CreateHyperlink Me!Storage, "", ExcelPath ' Generate GIF
Files
DoEvents
fCloseApp ("XLMAIN") ' ALL versions of Excel, any spreadsheet
Call SS_apiShowWindo w(GetAccesshWnd (), SW_MAXIMIZE) '
*************** **
Application.DoC md.Maximize
' *************** *
DoCmd.SelectObj ect acForm, Me.Name
DoCmd.Maximize
'************** ***
AllocationPlan. Picture = FindPlanPath(Pl anFolder & "\" & AllocatedPath)
' Load Image
.......
.......
All the bits about Maximize fail to do anything as both Access and the form
remain minimised on the task bar.
How do I automatically maximize them ( Clicking on them works fine)
Thanks
Phil
I am using a Hyperlink to run an Excel application which generates a chart
based on a query in the current database. This chart is saved a a GIF file
is linked to an Image control on my form. ( Programming the chart object has
proved far too slow)
The relevant code is
.......
......
CreateHyperlink Me!Storage, "", ExcelPath ' Generate GIF
Files
DoEvents
fCloseApp ("XLMAIN") ' ALL versions of Excel, any spreadsheet
Call SS_apiShowWindo w(GetAccesshWnd (), SW_MAXIMIZE) '
*************** **
Application.DoC md.Maximize
' *************** *
DoCmd.SelectObj ect acForm, Me.Name
DoCmd.Maximize
'************** ***
AllocationPlan. Picture = FindPlanPath(Pl anFolder & "\" & AllocatedPath)
' Load Image
.......
.......
All the bits about Maximize fail to do anything as both Access and the form
remain minimised on the task bar.
How do I automatically maximize them ( Clicking on them works fine)
Thanks
Phil
Comment