Excel to Single-File HTML Calculation Tool
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_fb8bdb79/ray-excel-html.
About this skill
Problem
Excel process calculation sheets often mix VBA logic, cross-sheet references, case parameters, and standard formulas. Turning them directly into web pages can hide formula misalignment, unit errors, guessed thresholds, and missed sheets. This skill targets HTML conversion of process engineering calculation sheets, not plain table export, but a runnable, traceable, and verifiable single-file app.
How it works
- Source validation: checks magnitude, unit conversion, standard formulas, and constant provenance; suspicious cases pause and ask for the Excel source to be fixed rather than silently overriding logic in HTML.
- Cell-level mapping: builds a table mapping Excel cells, formulas, actual operating cases, and HTML variables, especially normal, design, and mixed-case references.
- Calculation and UI conversion: rewrites
VBAfunctions intoJavaScript, validates formulas and computed values withopenpyxldual modes, and outputs single-file HTML with embeddedCSSandJS, light/dark themes, live calculation, charts, and export.
Boundaries
Best for calculation sheets with clear formulas and verifiable sources. If the source Excel contains logic errors, missing standard citations, or needs original-file edits, fix the inputs first. It does not replace formula review or repair the original spreadsheet.
Use Cases
- Convert a pump-calculation Excel file with VBA into an offline single-file HTML calculator.
- Identify the calculation sheet in a multi-sheet workbook, then convert key formulas with live calculation.
- Check HG/T pump-system formulas and pause to flag magnitude issues before fixing the source file.
- Add light/dark themes, charts, and export output for Cvc/CV control-valve calculations.
Best For
- Process engineers who need to turn VBA-based calculation Excel files into deliverable HTML pages.
- Process technicians who need to verify standard formulas, unit dimensions, and threshold values.
- Front-end engineers who need to package engineering calculation logic into a backend-free single-file web page.
- Technical documentation authors who need audit trails with source file, date, and calculation basis.
Related Skills
Organizes files by extension into subfolders like Documents, Code, and Archives, then outputs a report.
Extract tables, formulas, charts, and layout from invoices, reports, papers, and multi-column documents.
Generates a multi-sheet Excel report containing only structured data tables from byteplan-analysis results.
Automatically sort directory files into type-based folders, with dry-run preview, reports, and JSON custom rules.