Forum

Notifications
Clear all

Automatic Serial number generation

10 Posts
2 Users
0 Reactions
1,085 Views
 Madi
(@madisal66)
Posts: 61
Trusted Member
Topic starter
 

Hi Every one

 i have attached file i need serial no automatically while printing. if i print one time it should be come 1 if i print 100 system should be auto generate 1 to 100.

after again if i give print system should print from 101 to how many i have given print.

Thanks

SalihaGeneral-Issue.jpg


 
Posted : 07/07/2018 1:48 am
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Mohamed

There are 2 items in your worksheet.

Are you printing them both at once or one by one?

Are you selecting them if you are printing one by one?

Sunny


 
Posted : 07/07/2018 11:42 am
 Madi
(@madisal66)
Posts: 61
Trusted Member
Topic starter
 

Hi Sunny

yes i am printing both in one time.


 
Posted : 08/07/2018 8:23 am
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Mohamed

Give this a try.

Please note that it will always increase the serial number in cell J3 before it prints.

So if you are printing for the 1st time, leave J3 to be blank. Otherwise J3 will be the last number you printed.

I have currently set the option to PrintPreview. Change to PrintOut when you have tested that is is OK.

Hope this helps.


 
Posted : 09/07/2018 7:29 pm
 Madi
(@madisal66)
Posts: 61
Trusted Member
Topic starter
 

Hi Sunnykow

Thanks yes! this is the one i need

Saliha


 
Posted : 10/07/2018 3:23 am
 Madi
(@madisal66)
Posts: 61
Trusted Member
Topic starter
 

Hi Sunny Good Morning

please see the attached file its displaying Error.

SalihaError.jpg


 
Posted : 17/07/2018 1:37 am
(@sunnykow)
Posts: 1417
Noble Member
 

Please check your macro setting.


 
Posted : 17/07/2018 7:50 am
 Madi
(@madisal66)
Posts: 61
Trusted Member
Topic starter
 

i have check and shown to our technical system member also.


 
Posted : 17/07/2018 8:21 am
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Saliha

Right-click on the Print button and select Assign Macro.

Select PrintForm and click OK.

Sunny


 
Posted : 17/07/2018 7:12 pm
 Madi
(@madisal66)
Posts: 61
Trusted Member
Topic starter
 

Thanks sunny its working now and glad to supporting to me.

Saliha


 
Posted : 18/07/2018 1:59 am
Share:
0