LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Select filled cells/rows in a spreadsheet

One way:

myrng.entirerow.select
becomes

with activesheet
intersect(myrng.entirerow,.range("a:J")).select
end with

Change A:J to whatever columns you want.

Tomfizz wrote:

Dave - Thanks a lot !!!!
That's about it, except that I don't want to select the entire row, but
only up to another column (say column J).
the idea is to create a print area corresponding to a table, with a
various number of rows ...
Thanks for the help!
Tomfizz


--

Dave Peterson
 
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
Hpw do I delete multiple empty rows found between filled rows? Bill Excel Worksheet Functions 2 November 15th 09 07:12 PM
Filled cells dont appear as filled SMILLS Excel Discussion (Misc queries) 6 October 18th 07 05:28 PM
Select filled region only in non-adjacent columns hmm Excel Discussion (Misc queries) 1 August 19th 07 03:38 PM
How do you select two cells in different rows and columns with ou. M.G Excel Discussion (Misc queries) 3 December 17th 04 11:39 PM
Excel 2000 VBA: select filled cells for printing aaabart Excel Programming 1 September 4th 03 02:08 PM


All times are GMT +1. The time now is 07:26 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"