Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default In Excel, how do I select rows in which a certain value appears i.

I'm trying to make a macro that will select all rows in which a specific
value appears in a column, copy them, then paste them into another sheet.
Using autofilter only selects specific row numbers in the macro, so that
didn't work for me. Can anyone help with this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default In Excel, how do I select rows in which a certain value appears i.

If you filter the entire range, autofilter should work and would be the
easiest. Perhaps you have some completely blank rows in your data which
causes only a subset of the range to be filtered. If so, select the
entirearea, then apply the autofilter. You should then be able to use the
approach you have already developed.

--
Regards,
Tom Ogilvy

"ECD" wrote in message
...
I'm trying to make a macro that will select all rows in which a specific
value appears in a column, copy them, then paste them into another sheet.
Using autofilter only selects specific row numbers in the macro, so that
didn't work for me. Can anyone help with this?



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
Cannot select or move objects. Slash Circle appears. Elementary Computer Lab Excel Discussion (Misc queries) 2 May 16th 23 11:44 AM
count how many rows a word appears in learningaccess Excel Worksheet Functions 1 February 12th 09 09:48 PM
Code to Auto Select OK when an Option Box Appears [email protected] Excel Discussion (Misc queries) 7 February 21st 08 02:19 AM
Comment box appears many rows away when trying to edit Kamran Excel Discussion (Misc queries) 2 April 4th 06 03:27 PM
Comment box appears many rows away when trying to edit Kamran Excel Discussion (Misc queries) 2 March 28th 06 11:24 PM


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