C#C
C#4mo ago
35 replies
Flamur

Need help to port 1 big file of Visual Basic code to C#/.NET code

This code is used as a Macro in an Excel sheet to calculate a workers Fatigue and Risk Scores by collecting a list of data (Day On Duty, Off Duty, Commuting Time, Rest Time, Duty Length, Average duty per day Etc.),

Link to Excel Sheet: https://lorhsems.com/wp-content/uploads/Rail/Element_25_Fatigue_Management/Attachments/HSE-UK-Fatigue-Risk-Calculator-v3.xls
VBA-code.bas70.33KB
Was this page helpful?