LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Filter out one list of text in another list.

Hi,

My problem is the folowing.
I'm a radio amateur and I want to choos a good callname.
consist of a prefix followed by 3 or 2 letters.

On the site of our department that gives the calls I found a list with all
the used calls (in excel format).
I want to revers it!

With some trick's I managed to create a huge list with all the calls
starting from AA to ZZZ
(there are 18252 in total!)

Now I want to filter out the calls that are already in use, so I will only
see the free calls.

I'm searching now the whole night and I can't find any good function that
does this.
I started recording a macro.

This is my idee:
- create a map with 2 sheets, sheet 1: all the calls, sheet 2: used calls
- go to sheet 2 and select the first from the list
- start recording macro
- copy that value
- go to sheet 1 and press Ctrl+F, and choose replace
- paste the value
- enter BUSY as replacement
- go back to sheet 2 and select the 2nd from the list
- stop recording macro

Now it should by pressing the macro's keyboard shortcut replace all the busy
calls by BUSY
It doesn't :(

I think my problem is in the copy - past, I get the following source code of
my macro

Sub change()
'
' Change Macro
' Recorded 4/09/2003 by Gery Duyck.
'
' Shortcut: CTRL+V
'
Range("A1").Select
Selection.copy
Sheets("Sheet2").Select
Range("A1").Select
Cells.Replace What:="AAA", Replacement:="BUSY", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Sheets("Sheet3").Select
Range("A2").Select
End Sub


You see? he just pasted the value (AAA) in stead of a paste command in the
source code.
Can somebody help ???
How can I get this script working or is there a better way to do this.

Kind Regards,
Gery D.


 
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
Formula (not adv. filter) to list unique values from list Brian Excel Worksheet Functions 3 May 12th 09 04:33 AM
use list box text for advanced filter on dblClick sdaenitz Excel Discussion (Misc queries) 0 December 1st 08 06:59 PM
How to filter list from pre-existing list mrwawa Excel Discussion (Misc queries) 1 October 13th 06 07:46 PM
Filter the results of a list based on a previous vlookup against the same list Mizpah Excel Worksheet Functions 2 August 18th 06 10:28 AM
filter list of text for unique entries using formulea The Nephalim Excel Worksheet Functions 1 June 17th 05 12:16 PM


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