Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default Help with writing a macro to create a list

Hi!

I've been trying to create a macro for a while but I'm not having much
success. Hopefully you guys can help!

I have a list of all the orders placed for our product on one tab called
"Orders", with a customer number in column B.
On a second tab "Clients", you'll be amazed to find out that I have a list
of clients (customer number in column B also).
I want to write a macro which will create a list containing information on
which customers havent ordered anything yet. This list should be on a tab
called "Order missing".
Basically, I think that the macro would have to search for the customer
numbers on the "clients" tab in the "orders" tab, then either:
-do nothing if it finds the number OR
-if it doesnt find the number, insert information on the client into the
next available row on the tab "Order Missing" (the information being on the
same row as the customer number in the client tab; in fact, the best solution
for me would be to insert the whole row)

I could do this by hand (and I have!) but as this process now has to be done
every week, I'm looking to speed up the process.

Any help on this would be much appreciated as my forehead is starting to
hurt from all the banging of my head on my desk!

Thanks a lot
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Help with writing a macro to create a list

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Wombat" wrote in message
...
Hi!

I've been trying to create a macro for a while but I'm not having much
success. Hopefully you guys can help!

I have a list of all the orders placed for our product on one tab called
"Orders", with a customer number in column B.
On a second tab "Clients", you'll be amazed to find out that I have a list
of clients (customer number in column B also).
I want to write a macro which will create a list containing information on
which customers havent ordered anything yet. This list should be on a tab
called "Order missing".
Basically, I think that the macro would have to search for the customer
numbers on the "clients" tab in the "orders" tab, then either:
-do nothing if it finds the number OR
-if it doesnt find the number, insert information on the client into the
next available row on the tab "Order Missing" (the information being on
the
same row as the customer number in the client tab; in fact, the best
solution
for me would be to insert the whole row)

I could do this by hand (and I have!) but as this process now has to be
done
every week, I'm looking to speed up the process.

Any help on this would be much appreciated as my forehead is starting to
hurt from all the banging of my head on my desk!

Thanks a lot


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 create list possum b[_2_] Excel Discussion (Misc queries) 0 December 10th 09 04:41 PM
Create list with macro David T Excel Discussion (Misc queries) 9 September 19th 09 03:11 PM
Create a Macro with a List jeannie v Excel Worksheet Functions 1 May 9th 08 01:37 AM
Create a macro with a list jeannie v Excel Worksheet Functions 2 May 9th 08 01:34 AM
How to create a macro that compares a list to another list Rampa New Users to Excel 1 January 13th 05 01:15 PM


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