?
Solved

Not allow a number repeated

Posted on 2011-10-06
3
Medium Priority
?
218 Views
Last Modified: 2012-05-12
We have an order form that we use for our clients, and their billing requires a unique VON number for each Manufacturer order.  The form is constantly changing, and I have used Named Ranges such as "VON_Almark", "VON_DavdisonsEggs", ETC.   What is the "softest code possible" that will look at all VON cells and make sure they do the following:

1) Has to be 10 digits
2) Only has to have a VON if the Cost is completed (named ranges of COST_ManufacturerName)
3) Cannot reuse a VON number on the form.

Thanks! Form Screenshot
0
Comment
Question by:sharpapproach
  • 2
3 Comments
 
LVL 31

Expert Comment

by:gowflow
ID: 36925179
can you post a sample worksheet so we can cater a solution for you as several elements that need to be concidered
1) do you have several worksheets in the same workbook to verify ?
2) you mention named range "VON_Almark", "VON_DavdisonsEggs", ETC. How to look for ETC if we dont have the names makes it a bit more complex !
3) Presume the VON number you are refering to is in the yellow cell but the picture fail to give us the column is it B?

ETC ...
gowflow
0
 

Author Comment

by:sharpapproach
ID: 36926222
Here is my test form.  Thanks!
New-VON-Order-Form-v2.0.xls
0
 
LVL 31

Accepted Solution

by:
gowflow earned 2000 total points
ID: 36929223
Hi again
Is this what your looking for ?
Pls try this file and enable macros and see the cursor now in B69 it has a similar value elswhere try changing it and see the result look for the couple of row before this one oyu will see the value change this one to be same as the new one below and see results is this what your looking for ???
gowflow
New-VON-Order-Form-v2.0.xls
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question