Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Containers
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Skills
  • Learn
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)
All skills
Code

Convert a spreadsheet macro

VBA rewritten as a script, with the outputs proved identical.

Fill it in

With its macro.

Same inputs, same outputs, diffed.

A script with arguments, not a notebook.

Your prompt

Convert this macro to a script.
Read what it actually does before rewriting, including the parts that look
accidental. Finance macros accumulate deliberate oddities: a rounding order that
matters, a hard-coded date that marks a policy change, a column skipped for a
reason nobody wrote down.

Prove equivalence. Run both against the same workbook and diff the outputs cell by
cell, and report anything that differs rather than deciding it was a bug.

Make it a script with arguments, not a notebook. It is replacing something that
runs on a schedule.
List every behaviour you could not explain. That list is what a human has to look
at before this replaces anything.
Use Convert a spreadsheet macroOpens with everything above already filled in.

Why this works

Finance macros accumulate deliberate oddities: a rounding order that matters, a hard-coded date marking a policy change. This proves equivalence cell by cell and reports differences rather than deciding they were bugs, and lists what it could not explain.

More code skills

  • idapt Code
  • Fix a failing test

Use it now in a chat in 1 click

Use Convert a spreadsheet macro
Fix a GitHub issue
  • Find security bugs
  • Ship a feature
  • Speed up slow code