Skip to content

Instantly share code, notes, and snippets.

@tamago324
Last active July 2, 2018 03:00
Show Gist options
  • Select an option

  • Save tamago324/07f175ac54539897ec1c6f726fa2a7fe to your computer and use it in GitHub Desktop.

Select an option

Save tamago324/07f175ac54539897ec1c6f726fa2a7fe to your computer and use it in GitHub Desktop.
vbacを使う

https://tonari-it.com/vba-vbac-git/

信頼性に欠けますってでてきてしまうため、 開発 > マクロのセキュリティ > VBAプロジェクト~信頼するにチェックを付ける

https://support.microsoft.com/ja-jp/help/813969/you-may-receive-an-run-time-error-when-you-programmatically-allow-acce

.
  bin/
    xxx.xlsm
  vbac.wsf

ソースをエクスポート

cscript vbac.wsf decombine

ソースをインポート

cscript vbac.wsf combine

一人でやるときはdecombineだけかな


decombinecombineを間違えるとしぬから気を付けること

エクスポートがdecombineで、インポートがcombine!!!!!!!!!!!!

エクスポートしたかったのに、インポートしちゃって、2時間分のコードが消えちゃうとかあるから!!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment