Look up your test schedules without pain
Deployed on Netlify: https://exam.plushugh.com/
- Node.js & npm >= 18
- Deno >= 1.34.0
- Alt + F11
- Insert > Module
- Add this script
Sub UnMergeSameCell()
Dim Rng As Range, xCell As Range
xTitleId = "KutoolsforExcel"
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 top line:
examDate,examTime,grade,subject,classNum,minutes,location,numOfStudents,proctor1,proctor2,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,s47,s48,s49,s50,s51,s52,s53
- rename csv as
source.csv
and copy to this folder
npm install
npm run strip-bom
this npm script generates a new file
input.csv
npm run generate-json
this npm script reads
input.csv
and generates a new file inpublic/
astestSessionsByStudent.json
Use netlify, since this app uses netlify forms for form collection.