VBA code to automate hall-tickets printing process from a web page

AKSNivas

New Member
Joined
Apr 4, 2021
Messages
7
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
Dear experts

I have task of printing out hall-tickets of about 400 students from the below web page:
This involves a repetitive 9-step process for every single hall-ticket.
Step-1: Copy hall-ticket number from Excel file (as shown in the appended image-1)
Step-2: Switch to Web page
Step-3: Double click inside the box provided in the web page to select preoccupied hall-ticket number if any (as shown in the appended image-3)
Step-4: Paste the copied value to overwrite the preoccupied hall-ticket number
Step-5: Click on the adjacent button, "Download Hall Ticket" (as shown in the appended image-2)
Step-6: Click on the Print button (top right corner) in the resultant page (as shown in the appended image-3)
Step-7: Click on the Print button (bottom right corner) in the resultant page (as shown in the appended image-4)
Step-8: Click to go back (as shown in the appended image-5)
Step-9: Switch to Excel sheet to repeat all 9 steps again.

I will be very grateful if somebody can help me out with VBA code to automate the above recurring steps. Please let me know if any further information is needed.
Kindly do the needful.

Kind Regards
KumarSreenivas A
 

Attachments

  • Hall-ticket numbers.JPG
    Hall-ticket numbers.JPG
    26.5 KB · Views: 22
  • Web page to paste hall-ticket number.JPG
    Web page to paste hall-ticket number.JPG
    33.1 KB · Views: 23
  • Print-1.JPG
    Print-1.JPG
    67.4 KB · Views: 21
  • Print-2.JPG
    Print-2.JPG
    55.9 KB · Views: 19
  • Print-3.JPG
    Print-3.JPG
    25.8 KB · Views: 22

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,214,611
Messages
6,120,509
Members
448,967
Latest member
screechyboy79

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top