LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default method select of object range failed

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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Method Range of Object Global Failed Pam[_7_] Excel Programming 6 March 19th 07 09:31 PM
Method 'Range' of object '_Global' failed Graham Excel Programming 4 November 6th 06 08:33 PM
Method 'Range' of object '_Global' failed fundoo_pc Excel Programming 2 January 17th 06 12:05 AM
Method Range of object '_Global' failed maverick2005 Excel Programming 3 August 25th 05 02:56 PM
Method Range of object global failed Dennis Excel Programming 2 April 7th 04 03:27 PM


All times are GMT +1. The time now is 06:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"