Free Support Forum - aspose.com

Use of smart tags question

Is it possible to use a variable for the skip parameter in a smart tag? I need to skip X number of rows based on a field in my dataTable.

Thanks.

Michael Whitehead
mwhitehe@comcast.net


Hi Michael,

Please check http://www.aspose.com/wiki/default.aspx/Aspose.Excel/SmartMarker.html. You can use skip:n parameter.

I meant, is it possible to populate the n in skip:n with a variable value from the datasource so that the number of rows I need to skip can be determined dynamically?

Aspose.Excel cannot dynamically process variable skip parameter. But I think you can easily process it. You can process the smart marker without skip parameter. After processing, you can insert extra rows use InsertRows method.