PC Review


Reply
Thread Tools Rate Thread

Create an alphanumeric value

 
 
=?Utf-8?B?TWVraW5uaWs=?=
Guest
Posts: n/a
 
      19th Oct 2007
I once had a code that created an alphanumeric value based on a combobox
selection in addition the code would check the record for the first two
letters then then add the next higher number to the corresponding cell. It
looked something like this XX001,XX002 and would keep adding based again on
the combobox selection, however I have sence lost the code and therefore
asking all you GURU's to help me recreated it. For the life of me I cannot
remember.

Thanks
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      19th Oct 2007
If you got it here it should be amongst http://tinyurl.com/yuamc6

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Mekinnik" <(E-Mail Removed)> wrote in message
news:23725E7E-CC14-4FA1-A982-(E-Mail Removed)...
>I once had a code that created an alphanumeric value based on a combobox
> selection in addition the code would check the record for the first two
> letters then then add the next higher number to the corresponding cell. It
> looked something like this XX001,XX002 and would keep adding based again
> on
> the combobox selection, however I have sence lost the code and therefore
> asking all you GURU's to help me recreated it. For the life of me I cannot
> remember.
>
> Thanks



 
Reply With Quote
 
=?Utf-8?B?TWVraW5uaWs=?=
Guest
Posts: n/a
 
      19th Oct 2007
No I did not get it here, I thought it was a VB code however it was a
function to create the number based on the cell next to it sorry for the
misinformation, So back to the drawing board.

"Bob Phillips" wrote:

> If you got it here it should be amongst http://tinyurl.com/yuamc6
>
> --
> ---
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
>
>
> "Mekinnik" <(E-Mail Removed)> wrote in message
> news:23725E7E-CC14-4FA1-A982-(E-Mail Removed)...
> >I once had a code that created an alphanumeric value based on a combobox
> > selection in addition the code would check the record for the first two
> > letters then then add the next higher number to the corresponding cell. It
> > looked something like this XX001,XX002 and would keep adding based again
> > on
> > the combobox selection, however I have sence lost the code and therefore
> > asking all you GURU's to help me recreated it. For the life of me I cannot
> > remember.
> >
> > Thanks

>
>
>

 
Reply With Quote
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      19th Oct 2007
Will something like this help???

Sub test()

ActiveSheet.ComboBox1.ColumnCount = 2
ActiveSheet.ComboBox1.Clear
For i = 0 To 10
ActiveSheet.ComboBox1.AddItem "AA"
ListNumber = "AA" & Format(i, "#00000")
ActiveSheet.ComboBox1.List(i, 1) = ListNumber
Next i

End Sub

"Mekinnik" wrote:

> No I did not get it here, I thought it was a VB code however it was a
> function to create the number based on the cell next to it sorry for the
> misinformation, So back to the drawing board.
>
> "Bob Phillips" wrote:
>
> > If you got it here it should be amongst http://tinyurl.com/yuamc6
> >
> > --
> > ---
> > HTH
> >
> > Bob
> >
> > (there's no email, no snail mail, but somewhere should be gmail in my addy)
> >
> >
> >
> > "Mekinnik" <(E-Mail Removed)> wrote in message
> > news:23725E7E-CC14-4FA1-A982-(E-Mail Removed)...
> > >I once had a code that created an alphanumeric value based on a combobox
> > > selection in addition the code would check the record for the first two
> > > letters then then add the next higher number to the corresponding cell. It
> > > looked something like this XX001,XX002 and would keep adding based again
> > > on
> > > the combobox selection, however I have sence lost the code and therefore
> > > asking all you GURU's to help me recreated it. For the life of me I cannot
> > > remember.
> > >
> > > Thanks

> >
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Access 2003 (Create an Alphanumeric Autonumbered Field) slblakley@yahoo.com Microsoft Access Database Table Design 3 17th May 2007 06:59 AM
MS Access 2003 (Create an Alphanumeric Autonumbered Field) slblakley@yahoo.com Microsoft Access Database Table Design 0 16th May 2007 04:37 PM
can you create a chart in excel with alphanumeric data? =?Utf-8?B?UHVnd3lybQ==?= Microsoft Excel Charting 3 6th Jun 2005 07:10 PM
create alphanumeric code =?Utf-8?B?cHJpY3Rlcg==?= Microsoft Access 4 12th Oct 2004 12:05 AM
Create a look-up where source date is not alphanumeric Vita Microsoft Excel Worksheet Functions 1 7th Jul 2004 03:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:02 PM.