Massimo Scola
asked on
Flashing Formula Excel - Caused by VBA?
I am working on a project with many userforms with a wide range of controls (listboxes, textboxes, MonthView etc.) using Windows 10.
Once data has been added to the worksheet, the formula bar keeps flashing. This also happens when I add data from a userform which doesn't have the standard controls.
The worksheet does not have any shapes: just listboxes, charts and pivot tables. Formulae are kept to a minimum as the logic is implemented in the userform. I decided to use this method as I have thousands of entries in various tables.
What are the likely causes of the formula bar flashing?
Has anyone experienced the same problem in the past?
Once data has been added to the worksheet, the formula bar keeps flashing. This also happens when I add data from a userform which doesn't have the standard controls.
The worksheet does not have any shapes: just listboxes, charts and pivot tables. Formulae are kept to a minimum as the logic is implemented in the userform. I decided to use this method as I have thousands of entries in various tables.
What are the likely causes of the formula bar flashing?
Has anyone experienced the same problem in the past?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
do you have a sample can share with us? we will try to diagnose the issue
ASKER
How confidential will the data be treated which I upload here (as part of private question)?
>>How confidential will the data be treated which I upload here (as part of private question)?
definitely knowing your concern but without knowing the real scenario, it's difficult for troubleshooting.
you can try to make a copy, and then delete/mask your data if it's feasible to upload.
definitely knowing your concern but without knowing the real scenario, it's difficult for troubleshooting.
you can try to make a copy, and then delete/mask your data if it's feasible to upload.
ASKER
Before upload the workbook, let me show you one more thing.
I use these subs to turn on the speed or off:
Is this one way to speed on/off ?
I usually add SpeedOn before saving data to the workbook and SpeedOff after saving the data.
I use these subs to turn on the speed or off:
Sub SpeedOn()
DoEvents
On Error Resume Next
With Application
.Calculation = xlCalculationManual
.ScreenUpdating = False
.EnableEvents = False
.DisplayAlerts = False
.Cursor = xlWait
.EnableCancelKey = xlErrorHandler
End With
End Sub
Sub SpeedOff()
With Application
.Calculation = xlCalculationAutomatic
.ScreenUpdating = True
.EnableEvents = True
.DisplayAlerts = True
.CalculateBeforeSave = True
.Cursor = xlDefault
.EnableCancelKey = xlInterrupt
End With
End Sub
Is this one way to speed on/off ?
I usually add SpeedOn before saving data to the workbook and SpeedOff after saving the data.
ASKER
I have absolutely no idea what happened but for some reason the worksheet now works.
I hope this won't happen again.
Thanks for your help.
I hope this won't happen again.
Thanks for your help.
ASKER