Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default searching rows and coloumns

I'm struggeling with a search.
How can I select all the rows, that meet a certan criteria and and copy
then into another workbook. And then from those rows select a certan
coloumns (again that meet a certan criteria).

Thanks, Juuljus

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default searching rows and coloumns

Hi Juuljus,

Consider using Excel's Autofilter or Advanced Filter features.

If you want to automate this, turn on the macro recorder while you perform
the rquisite steps. The resultant code may be edited to provide more general
application.

If you adopt the Advanced Filter approach, bear in mind that the filter
should be invoked from the destination sheet.

If you experience problems whilst editing your code, post back with
specifics.


---
Regards,
Norman


"Juuljus" wrote in message
oups.com...
I'm struggeling with a search.
How can I select all the rows, that meet a certan criteria and and copy
then into another workbook. And then from those rows select a certan
coloumns (again that meet a certan criteria).

Thanks, Juuljus



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default searching rows and coloumns

Thanks Norman,

I used the Advanced Filter. It works almost fine.
The table I take the data from has some colors and boarders. I don't
want them. I tried to use ColorIndex:=xlNone, LineStyle:=xlNone inside
the autofilter sentence, but it gave an error. Is there a way?
Plus, I want to get the exact match. I searched for "IS", but the
filter also gave "IS 2" and "IS W".

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default searching rows and coloumns

Hi Juuljus.

I used the Advanced Filter. It works almost fine.
The table I take the data from has some colors and boarders. I don't
want them. I tried to use ColorIndex:=xlNone, LineStyle:=xlNone
inside the autofilter sentence, but it gave an error. Is there a way?


Post the relevant code.

Plus, I want to get the exact match. I searched for "IS", but the
filter also gave "IS 2" and "IS W".


To get an exact match, enter the criterion as:

="=IS"


---
Regards,
Norman


"Juuljus" wrote in message
oups.com...
Thanks Norman,

I used the Advanced Filter. It works almost fine.
The table I take the data from has some colors and boarders. I don't
want them. I tried to use ColorIndex:=xlNone, LineStyle:=xlNone inside
the autofilter sentence, but it gave an error. Is there a way?
Plus, I want to get the exact match. I searched for "IS", but the
filter also gave "IS 2" and "IS W".



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default searching rows and coloumns

Hi Norman,

Already found answers to both my questions. But thanks anyway. I bet I
will have more questions in the next couple of days, so hopefully we
will talk again.

Thankfully,
Juuljus

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 COUNTIF from two different coloumns but not all rows? JP Excel Worksheet Functions 1 December 16th 08 01:47 AM
Hide Rows or Coloumns using formulas Milind Keer[_2_] Excel Discussion (Misc queries) 5 August 7th 08 03:05 PM
Searching Columns and Rows Cliff Excel Worksheet Functions 3 April 3rd 06 12:52 AM
searching for a better way to hide rows tjtjjtjt Excel Programming 6 July 7th 05 01:42 PM
searching columns and rows lsu-i-like Excel Discussion (Misc queries) 5 June 20th 05 07:08 PM


All times are GMT +1. The time now is 04:25 AM.

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"