I am using this code in my Vb.Net application to add some empty rows in a worksheet:
Dim TPAGECOUNT = WKSHEET.PageSetup.Pages.Count
Do While TPAGECOUNT = WKSHEET.PageSetup.Pages.Count
WKSHEET.Range("A" & TROW & ":R" & TROW).Rows.Insert(Shift:=EXCEL.XlInsertShiftDirection.xlShiftDown)
TROW =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.