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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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