dmacmillan
Board Regular
- Joined
- Apr 5, 2004
- Messages
- 125
Hi All,
On opening a workbook (a KPI Dashboard) the following needs to occur: change the display, hide the cursor, show a splash form, insert a date stamp, show another form for c.30 seconds and establish an Application.OnTime structure (altogether 'RefreshPrism') and finally show graphs that cycle a combo box every 5 seconds and refresh the graph. This code follows:
This code results in the user forms overlaying each other and the combo box not being refreshed.
Possibly the date stamp, being a volatile function, is wreaking havoc. I am bamboozled and would be grateful for recommendations to effectively sequence this On Open procedure.
Kind regards,
David
On opening a workbook (a KPI Dashboard) the following needs to occur: change the display, hide the cursor, show a splash form, insert a date stamp, show another form for c.30 seconds and establish an Application.OnTime structure (altogether 'RefreshPrism') and finally show graphs that cycle a combo box every 5 seconds and refresh the graph. This code follows:
Code:
Private Sub Workbook_Open()
Application.ScreenUpdating = False
Call SetDisplay
Call HidePointer
frmFMLSplash.show
Worksheets("Parameters").Range("C27") = Format(Now, "d-mmm-yy")
Call RefreshPrism
Call CycleGraphs
End Sub
This code results in the user forms overlaying each other and the combo box not being refreshed.
Possibly the date stamp, being a volatile function, is wreaking havoc. I am bamboozled and would be grateful for recommendations to effectively sequence this On Open procedure.
Kind regards,
David
Last edited: