Workbook not resetting after closing from form.

GingerBeardo

New Member
Joined
Feb 20, 2019
Messages
25
My Excel workbook is set to open to the form and hide the workbook, in order to view the work book you must type "view" in the top text box and hit the "check out" button. When hitting the "X" in the top, right corner of the form it is supposed to close the unload the for and exit the application, which it seems to do. although, upon reopening excel it lags on start up and then jumps straight to the workbook, ignoring opening the form. I can not figure out why this is happening. I am including a copy for review. I would appreciate any and all constructive input.

https://www.amazon.com/clouddrive/share/6uX1VhVXHjxznAvNBequ6Br1wPNuXxacnmSmAs8geq9
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Make these adjustments

On Form:

Code:
Private Sub CloseForm_Click()
    
    HideTitleBar Me
    Application.Visible = True
    Unload CheckForm
    Application.Quit
    
End Sub


Private Sub Label3_Click()
    Application.Visible = True
    Unload Me
    Application.Quit


End Sub


in the open event

Code:
Private Sub Workbook_Open()


    Application.ScreenUpdating = False
    Application.Visible = False
    CheckForm.Show
    
End Sub


---

upon reopening excel it lags on start up



It is the time that Excel needs to open.
But if you open the excel application first and then upload your file "SmartTracker" the process is faster
 
Upvote 0

Forum statistics

Threads
1,224,894
Messages
6,181,618
Members
453,057
Latest member
LE102024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top