Returns the active sheet's right-most column number. This corresponds to the last used cell across all rows.
IComInterop.DynamicMaxCol
KDCalcEngine Class | KnowledgeDynamics.KDCalc Namespace