Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Question 1: How do you insert a row shifting everything
else down. Question 2: Keep the same format as was in the row originially. (Borders and font color) Here is my current code in VB.NET for Excel 2k which does not insert. ' Loop through all the parts For i As Integer = 0 To partSet.Parts.Count - 1 ' Set the range to output to Dim WSRange As Object = WorkSheet.Cells (PartList_Row_Index, "A").Resize(1, modPartSelection.ROW_ITEM_LENGTH) With WSRange ' Give the range the information .Value = partSet.Parts(i).PartData ' Set the highlight color .Interior.Color = color End With ' Move to next row PartList_Row_Index += 1 Next |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
INSERTING ROWS and LOSING FORMAT | Excel Discussion (Misc queries) | |||
Inserting Rows...but losing "FORMAT" | Excel Discussion (Misc queries) | |||
Date format changes when inserting rows | Excel Discussion (Misc queries) | |||
Copying & Inserting Rows w/o Affecting other Rows Etc. | Excel Worksheet Functions | |||
Inserting Blank rows after every row upto 2500 rows | Excel Worksheet Functions |