Hi,
I'm calling an Access database that we use from a custom menu in Excel via VBA. The syntax works perfectly, however when the window opens it is in a minimised state. I was just wondering if there was a line of code I could use that would maximise the window to the full screen on opening?
Many Thanks in advance![]()
Sub CallDatabase() Dim LPath As String Dim LCategoryID As Long Dim oApp As Object LPath = "E:\Access\2010\Database.mdb" Set oApp = CreateObject("Access.Application") oApp.Visible = True oApp.OpenCurrentDatabase LPath End Sub
Macro1
Bookmarks