Hope!
This would work as you need!.
Thanks so much Sir.
Hope!
This would work as you need!.
.Cells(i, 1) = Sheet4.Cells(Application.Match(m, Sheet4.Columns(5), 0), 1) & "-" & .Cells(i, 4)
on error resume next
or
on error goto Err
..........
Err:'add before end sub
Change this...
Code:.Cells(i, 1) = Sheet4.Cells(Application.Match(m, Sheet4.Columns(5), 0), 1) & "-" & .Cells(i, 4)
Be remember, there is no error handling in the macro. You may add the same as need or something like this.
Code:on error resume next or on error goto Err .......... Err:'add before end sub
Hi Sir,
it showed an erroneous data -
it should be the NEW GENERATED KEY found @ Pre Generated CIF plus BRANCH CODE @ Branch 1 to 30.
Sample:
00001 - 0001
00011 - 0002
Thanks,
Hi Sir,
If you can see there is a branch code on every Branch Worksheet e.g. Branch 1 , Branch 2. u will add that to the NEW CIF CODE found at the PRE GENERATED CIF WORKSHEET.
Thanks,