Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Linda
 
Posts: n/a
Default Macro for hiding rows

I am trying to take a mail list that is in Excel and create a macro to only
show every 10th row. I need these addresses for a survey, so it doesn't make
any difference wheather there is information in all the columns of the
worksheet or not.
  #2   Report Post  
Posted to microsoft.public.excel.misc
George Nicholson
 
Posts: n/a
Default Macro for hiding rows

Add a column that contains the number sequence 1 through 10, repeating, down
the sheet as far as there is data. Apply an
AutoFilter(DataFilterAutoFilter) to your column header. In the drop down
in the header of your new column, select any number between 1 and 10.
Visible result: every 10th row.

HTH,
--
George Nicholson

Remove 'Junk' from return address.


"Linda" wrote in message
...
I am trying to take a mail list that is in Excel and create a macro to only
show every 10th row. I need these addresses for a survey, so it doesn't
make
any difference wheather there is information in all the columns of the
worksheet or not.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Linda
 
Posts: n/a
Default Macro for hiding rows

Thank you. That was exactly what I was hoping for.

Linda





"George Nicholson" wrote:

Add a column that contains the number sequence 1 through 10, repeating, down
the sheet as far as there is data. Apply an
AutoFilter(DataFilterAutoFilter) to your column header. In the drop down
in the header of your new column, select any number between 1 and 10.
Visible result: every 10th row.

HTH,
--
George Nicholson

Remove 'Junk' from return address.


"Linda" wrote in message
...
I am trying to take a mail list that is in Excel and create a macro to only
show every 10th row. I need these addresses for a survey, so it doesn't
make
any difference wheather there is information in all the columns of the
worksheet or not.




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
Macro to copy cells to rows below [email protected] Excel Discussion (Misc queries) 1 January 20th 06 06:59 PM
Can I develop a macro to add blank rows to a list in Excel? csimont Excel Discussion (Misc queries) 1 January 18th 06 02:46 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
inset rows and copy formatting , excel macro sloanranger Excel Discussion (Misc queries) 13 March 9th 05 11:44 PM
Adding Rows to Master Sheet Excel Newbie New Users to Excel 1 December 23rd 04 10:56 PM


All times are GMT +1. The time now is 05:19 PM.

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"