Look up your test schedules and proctoring sessions without pain
Deployed on Netlify: https://exam.plushugh.com/
- Deno >= 1.34.0
- Alt + F11
- Insert > Module
- Add this script
Sub UnMergeSameCell()
Dim Rng As Range, xCell As Range
xTitleId = "Select Cells to unmerge"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
Application.ScreenUpdating = False
Application.DisplayAlerts = False
For Each Rng In WorkRng
If Rng.MergeCells Then
With Rng.MergeArea
.UnMerge
.Formula = Rng.Formula
End With
End If
Next
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub
- Select all cells in sheet
- Use F5 to run the script (or run and choose all cells in VBA editor)
- Export csv as
test.csv
- Open csv in textedit
- add this to an extra topmost line:
examDate,examTime,subject,grade,minutes,classNum,location,proctor1,proctor2,numOfStudents,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18,s19,s20,s21,s22,s23,s24,s25,s26,s27,s28,s29,s30,s31,s32,s33,s34,s35,s36,s37,s38,s39,s40,s41,s42,s43,s44,s45,s46
- rename csv as
input.csv
and copy to this folder
npm run generate-json
# or
deno run --allow-read --allow-write src/cli.ts input.csv public/testSessionsByStudent.json public/studentNamesList.txt public/testSessionsByProctor.json public/proctorNamesList.txt
this npm script reads
input.csv
and generates new files inpublic/
astestSessionsByStudent.json
,testSessionsByProctor.json
,proctorNamesList.txt
andstudentNamesList.txt
Use netlify, since this app uses netlify forms for feedback form collection.