Skip to content

Instantly share code, notes, and snippets.

@shiwano
Created April 4, 2014 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shiwano/9970792 to your computer and use it in GitHub Desktop.
Save shiwano/9970792 to your computer and use it in GitHub Desktop.
AppleScript to convert to HTML from XLSX
set theDoc to (path to desktop as text) & "test.xlsx"
set outPath to (path to desktop as text) & "test.html"
tell application "Microsoft Excel"
open file theDoc
tell workbook 1
tell sheet 1
save in outPath as HTML file format
end tell
close without saving
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment