Free Support Forum -

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.


Michael Whitehead

Hi Michael,

Please check 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.