Hi Everyone,
Not sure if this can be answered easily but here it goes:
I've created a module in VBA where I've placed a sub macro containing:
Sub BG_UpdatingOFF()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
End Sub
Sub BG_UpdatingON()
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
End Sub
I then 'Call' these macros in my form scripts etc. My question: Is it more efficient to just write these lines in the particular form/module code or am I still being efficient by calling the functions? What is the preferred "best practice" way of doing this?
Thanks for the help!
Not sure if this can be answered easily but here it goes:
I've created a module in VBA where I've placed a sub macro containing:
Sub BG_UpdatingOFF()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
End Sub
Sub BG_UpdatingON()
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
End Sub
I then 'Call' these macros in my form scripts etc. My question: Is it more efficient to just write these lines in the particular form/module code or am I still being efficient by calling the functions? What is the preferred "best practice" way of doing this?
Thanks for the help!