Created
June 28, 2019 09:16
-
-
Save danielecook/265c3b83c1324476a6028f1a4c961a11 to your computer and use it in GitHub Desktop.
Open a file from the command line in Excel #MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function excel() { | |
tmp=`mktemp` | |
out=${1} | |
cat ${out} > $tmp | |
open -a "Microsoft Excel" $tmp | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment