DebugView を使用して値を外部に書き出す方法

'VBAコード例
Private Declare Sub OutputDebugString Lib "kernel32" Alias "OutputDebugStringA" (ByVal lpOutputString As String)

Sub test()

	Dim strDebug As String
	strDebug = "Message"

	OutputDebugString aa

End Sub

http://debugview.en.softonic.com/
http://debugview.en.softonic.com/download