Dear Deba,

Please try it..

*=IF(B3<>"","LD000"&SUBTOTAL(3,$B$3:B3),"")*

It will work on filtered data also.

-- 
Thanks & regards,
Noorain Ansari
www.noorainansari.com
www.excelmacroworld.blogspot.com

On Tue, May 22, 2012 at 12:32 PM, Deba Ranjan <drdeva...@gmail.com> wrote:

> *Dear Experts and Sir,
>
>
> *While on the data entry form in excel, for tracing data in future, i am
> using token numbers. So while filling the data of any person, i use to fill
> token number manually, eg. LD0001, LD0002, LD0003, and so on.......Can we
> make by VBA code for automatic token number ?.
>
>    Eg. i am filling in the data entry form.
>
>         First person:- devanand
>         Mobile:- 124568755
>         Town name:- delhi
>          Token number:- *LD0001*
>
>    If i give summit/ add button, the first person will be added on the
> sheet or traced. If i give another person summit there the token number
> should automatically come as *LD0002, *and so on....
>
>   Can you please help me on this experts. Thank you.
>
>
> Thanks & Regards,
> Deba Ranjan P
>
> ****
>
> --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>
> To unsubscribe, send a blank email to
> excel-macros+unsubscr...@googlegroups.com

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com

Reply via email to