Q
quaz
All,
I am writing code that creates a user form used to scroll through a filtered
list of photos and their attributes and it works great, until a filter hides
more than 280 consecutive rows of data. If I scroll over the hidden rows my
code crashes at the following line
Cells(scr_photo.Value, 1).EntireRow.Activate
where scr_photo is the current row that fills the data form.
The reason I activate the current row is so the user can see what row the
form data is coming from as they scroll through the list. This works great
in all other aspects except for the case mentioned above.
Any ideas or ways to fix the problem. I have already tried .Select instead
of .Activate and I get the same error.
Thanks.
I am writing code that creates a user form used to scroll through a filtered
list of photos and their attributes and it works great, until a filter hides
more than 280 consecutive rows of data. If I scroll over the hidden rows my
code crashes at the following line
Cells(scr_photo.Value, 1).EntireRow.Activate
where scr_photo is the current row that fills the data form.
The reason I activate the current row is so the user can see what row the
form data is coming from as they scroll through the list. This works great
in all other aspects except for the case mentioned above.
Any ideas or ways to fix the problem. I have already tried .Select instead
of .Activate and I get the same error.
Thanks.