NativeExcel suite v2.x

TXLSVBAProject class

Unit: xlsvbar
Represents a VBA project in a workbook.

Remarks

Use the IXLSWorkbook.VBAProject property to return an TXLSVBAProject object.
The following example demonstrates how to access VBA project.
if book.VBAProject.Count > 0 then begin
   //VBA project contains one or more modules
   //... 
end;

Properties

Copyright © NikaSoft 2004-2012