开发者

Insert new blank row in ms.excel using vb.net

开发者 https://www.devze.com 2023-03-10 07:06 出处:网络
How can I ins开发者_如何学Cert a blank row in Excel using VB.NET?It looks roughly like this: Dim range1 As Excel.Range

How can I ins开发者_如何学Cert a blank row in Excel using VB.NET?


It looks roughly like this:

Dim range1 As Excel.Range
// set range location eg row 5  "5:5" 
range1.Insert(Excel.xlShiftDown, Excel.xlFormatFromRightOrBelow)


Try This method

sheet.Range("A1").EntireRow.Delete();
0

精彩评论

暂无评论...
验证码 换一张
取 消