Delay before the right drop down menu appears i when unhiding a row

Godot60

Board Regular
Joined
May 11, 2017
Messages
62
Hi,

I have a series of questions in rows where there are corresponding drop down menus for each question.

The questions appear one by one depending on the answer to the prior question. When a new question appears there is a delay before the corresponding drop down menu appears. The viewer sees the drop down from the previous question instead. Eventually the right drop down appears. Any way of preventing this delay? Thanks in advance.
 
Last edited:

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
what code do you use to drive the changes
 
Upvote 0
Here is a sample:

Private Sub Worksheet_Change(ByVal Target As Range)


If Range("C4").Value = "" Then
Rows("5:26").EntireRow.Hidden = True
End If
If Range("C4").Value = "Yes" Then
Rows("5").EntireRow.Hidden = False
End If
If Range("C5").Value = "No" Then
Rows("7").EntireRow.Hidden = False
End If

End Sub
 
Upvote 0
so you could wrap with

application.screenupdating = false

application.screenupdating = true

which will remove some flicker
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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