kazurayam / vba-callgraph

Generating a Call Graph for Excel VBA workbooks
https://kazurayam.github.io/VBACallGraph/
Apache License 2.0
0 stars 0 forks source link

SensibleWorkbookのExportedModulesワークシートを見たい、ただしMS ExcelがインストールされていないMac環境でも #34

Closed kazurayam closed 1 month ago

kazurayam commented 1 month ago

SensibleWorkbookのExportedModulesワークシートの内容を目視したくなることがある。すなわちこれをみたい。

image

ただしkazurayamのMacマシンにはMicrosoft Excelがインストールされていないから、Mac上でExcelを起動できない。代替手段がほしい。

SensibleWorkbookオブジェクトがExportedModulesワークシートをテキストを出力できればいいな。MarkdownとかHTMLとか。こういうふうに。

Project ModuleType Module Scope ProcKind Procedure LineNo Source
Backbone Standard ArraySortModule Public Sub InsertionSort 21 Public Sub InsertionSort(ByRef data As Variant, ByVal low As Long, ByVal high As Long)
Backbone Standard ArraySortModule Public Sub Test_InsertionSort 7 Public Sub Test_InsertionSort()
Backbone Class ArrayUtil Public Sub PrintArray1D 40 Public Sub PrintArray1D(arr1D As Variant)
Backbone Class ArrayUtil Public Sub PrintArray2D 7 Public Sub PrintArray2D( arr2D As Variant, Optional rowIndex As Long = 0, Optional colLeft As Long = 0)
Backbone Class clsProcInfo Public Property Get ModuleType 11 Public Property Get ModuleType() As String

Source列やComment列が複数行のStringなのでMarkdownでは扱いにくい。HTMLにするべきだろう。

kazurayam commented 1 month ago

MacならばNumberアプリがあるでしょ。Numberアプリは.xlsmファイルを開くことができる。

image

これで必要十分だ。