Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
drvmark
 
Posts: n/a
Default Is there a limit on selecting individual rows in excel?

I am using VBA logic to set a variable holding a series of rows to be
deleted. When I use this on small worksheets no problem. But in larger
worksheets when the logic goes to "rangevariable.select" I get an error.
There are approx 168 rows selected in this occurance.
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Just a guess...

You have to have the worksheet that contains that range selected before you can
select that range.

rangevariable.parent.parent.activate 'workbook
rangevariable.parent.select 'worksheet
rangevariable.select 'range

or just
application.goto rangvariable, scroll:=true

If that doesn't work, you may want to post more of the code.

drvmark wrote:

I am using VBA logic to set a variable holding a series of rows to be
deleted. When I use this on small worksheets no problem. But in larger
worksheets when the logic goes to "rangevariable.select" I get an error.
There are approx 168 rows selected in this occurance.


--

Dave Peterson
Reply
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
How do I increase the limit on the number of import rows in Excel Aleck Excel Discussion (Misc queries) 2 March 18th 05 07:53 PM
the limit on how many rows can be in one spreadsheet liz Excel Worksheet Functions 2 March 4th 05 11:29 AM
Increase rows in worksheet beyond 65,536 row limit Ann Calantzis Excel Discussion (Misc queries) 2 February 25th 05 01:33 PM
How do I limit number of rows and columns on a spreadsheet Valser New Users to Excel 3 February 12th 05 10:31 PM
How do I limit the number of rows in an Excel worksheet. laforge27 Excel Worksheet Functions 1 November 4th 04 01:42 AM


All times are GMT +1. The time now is 08:24 PM.

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

About Us

"It's about Microsoft Excel"