Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Search data w. use of msg box and copy results to new blanc worksh

I have a worksheet named abc. It consists of clien information (a/s/l/,
commitment of contract, service used etc.) What I'd like to do is filter out
all users who have a commitment of x-number of months. The x-number is a
variable and I want to use a msg box to specify the amount of months I'm
looking for (i.e. 24 should mean find all users with commitment of 24
months). After Excel executes this search I want excel to copy the users who
match the requirements to be copied into a blanc worksheet. Is this
possible?! The number of months is located in cel M.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Search data w. use of msg box and copy results to new blanc worksh

You could do this kind of thing, but it's usually a bad idea to duplicate your
data.

I'd add data|filter|autofilter to my data (xl2003 menus).

Then I could filter to show just the values I wanted.

If you really wanted the data on a separate worksheet, you could copy the
visible cells to that new worksheet.

And if you really, really wanted a macro to do it, you could record one while
you did it manually.

Basta1980 wrote:

I have a worksheet named abc. It consists of clien information (a/s/l/,
commitment of contract, service used etc.) What I'd like to do is filter out
all users who have a commitment of x-number of months. The x-number is a
variable and I want to use a msg box to specify the amount of months I'm
looking for (i.e. 24 should mean find all users with commitment of 24
months). After Excel executes this search I want excel to copy the users who
match the requirements to be copied into a blanc worksheet. Is this
possible?! The number of months is located in cel M.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Search data w. use of msg box and copy results to new blanc wo

Dave,

Thank you for your suggestion. I guess it's probably so easy it's not
uncommon to overlook the simplicity of some problems.

Thnx anyway

"Dave Peterson" wrote:

You could do this kind of thing, but it's usually a bad idea to duplicate your
data.

I'd add data|filter|autofilter to my data (xl2003 menus).

Then I could filter to show just the values I wanted.

If you really wanted the data on a separate worksheet, you could copy the
visible cells to that new worksheet.

And if you really, really wanted a macro to do it, you could record one while
you did it manually.

Basta1980 wrote:

I have a worksheet named abc. It consists of clien information (a/s/l/,
commitment of contract, service used etc.) What I'd like to do is filter out
all users who have a commitment of x-number of months. The x-number is a
variable and I want to use a msg box to specify the amount of months I'm
looking for (i.e. 24 should mean find all users with commitment of 24
months). After Excel executes this search I want excel to copy the users who
match the requirements to be copied into a blanc worksheet. Is this
possible?! The number of months is located in cel M.


--

Dave Peterson

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
Copy data that matches criteria in one worksheet to another worksh angiec50 Excel Worksheet Functions 1 October 7th 09 01:49 PM
Can I use cell data for a web search & bring back in the results? Jason Excel Worksheet Functions 1 April 22nd 09 12:30 AM
Search then copy and past data joecrabtree Excel Programming 3 December 8th 06 03:18 PM
"" not completely blanc if copy Esrei Excel Discussion (Misc queries) 3 June 13th 06 01:16 PM
I cant do a search on this forum. Everytime I search, it comes up with zero results viswanthank Excel Programming 3 June 10th 05 09:15 AM


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