Screen Flickering with this VBA

robertk93

New Member
Joined
Dec 19, 2023
Messages
34
Office Version
  1. 365
Platform
  1. Windows
Hi,

Please see link to a file sharing site with a workbook inside of it. I am trying to solve the screen flickering within this workbook. The password to unprotect is test.

Thank you!

Book.xlsx
 
I am not toggling the sheets
What I am saying is that when you make an entry on the "Proforma" sheet, it is "hopping" over to the "Customer" sheet to unhide rows.
 
Upvote 0

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
That's correct. And you aren't sure what may be causing that?
No, I think that is what is causing it - once you update a cell on the "Proforma" page, it "jumps" to the "Customer" page to unhide the row.
 
Upvote 0
Right- but you aren't sure how to fix it outside of the submit / process button / userform?
 
Upvote 0
Right- but you aren't sure how to fix it outside of the submit / process button / userform?
I don't even know if there is "a fix"- nothing is really broken. It may just be the behavior of bouncing between two sheets.
 
Upvote 0
Perhaps you could have a hidden column in Customer and flag the rows you want visible eg the formula in column E (note heading row is using Sum to check for any used rows used in the section)
Then show/hide rows using the customer sheet activate event.

20240107 VBA Unhide Hide test(5) Flickering v02 robertk93.xlsm
ABCDE
47Test 31
48  $ -$ - 
49Online Reporting Maintenance10$ -$ -1
50  $ -$ - 
51  $ -$ - 
52  $ -$ - 
53  $ -$ - 
Customer
Cell Formulas
RangeFormula
A47,C48:D53A47=Proforma!A47
E47E47=SUM(E48:E53)
A48:A53A48=IF(B48="","",Proforma!A48)
B48:B53B48=IF(Proforma!B48>0,Proforma!B48,"")
E48:E53E48=--NOT(A48="")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D47Expression=$A47 = YestextNO
A48:A53,A55:A59,A75:A78,A80:A82,A84:A96,A98:A127,A61:A73,A35:A46,A25:A33Expression=$H38=1textNO
A48:A53,A55:A59,A75:A78,A80:A82,A84:A96,A98:A127,A61:A73,A35:A46,A25:A33Expression=$I38=2textNO
A48:A53,A55:A59,A75:A78,A80:A82,A84:A96,A98:A127,A61:A73,A35:A46,A25:A33Expression=$I38=1textNO
A48:A53,A55:A59,A75:A78,A80:A82,A84:A96,A98:A127,B14:B16,B18,A19:B19,B21:B22,A61:A73,A35:A46,A25:A33Cell Value="Space"textNO
 
Upvote 0
Perhaps you could have a hidden column in Customer and flag the rows you want visible eg the formula in column E (note heading row is using Sum to check for any used rows used in the section)
Then show/hide rows using the customer sheet activate event.

20240107 VBA Unhide Hide test(5) Flickering v02 robertk93.xlsm
ABCDE
47Test 31
48  $ -$ - 
49Online Reporting Maintenance10$ -$ -1
50  $ -$ - 
51  $ -$ - 
52  $ -$ - 
53  $ -$ - 
Customer
Cell Formulas
RangeFormula
A47,C48:D53A47=Proforma!A47
E47E47=SUM(E48:E53)
A48:A53A48=IF(B48="","",Proforma!A48)
B48:B53B48=IF(Proforma!B48>0,Proforma!B48,"")
E48:E53E48=--NOT(A48="")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D47Expression=$A47 = YestextNO
A48:A53,A55:A59,A75:A78,A80:A82,A84:A96,A98:A127,A61:A73,A35:A46,A25:A33Expression=$H38=1textNO
A48:A53,A55:A59,A75:A78,A80:A82,A84:A96,A98:A127,A61:A73,A35:A46,A25:A33Expression=$I38=2textNO
A48:A53,A55:A59,A75:A78,A80:A82,A84:A96,A98:A127,A61:A73,A35:A46,A25:A33Expression=$I38=1textNO
A48:A53,A55:A59,A75:A78,A80:A82,A84:A96,A98:A127,B14:B16,B18,A19:B19,B21:B22,A61:A73,A35:A46,A25:A33Cell Value="Space"textNO
I'm sorry- but none of this makes sense to me.
 
Upvote 0

Forum statistics

Threads
1,215,121
Messages
6,123,177
Members
449,093
Latest member
bes000

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