Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi, i am trying to paste formulas down a column without having to paste 1
section at a time. although I have the offset working to do that, I need to skip rows where column A has a period ".' in that column. the related item i have is not working for that, as below. thanks. Sub test() 'alt-T (test) Dim C4 As String C4 = Range("C4") 'C4 has: =ROW($A$2058)-ROW($A$228)-1 If Me.Cells(.Row, "A").Value = "." Then Exit Sub 'this line incorrect for this purpose 'need to skip all rows that have a period "." in col A Range(ActiveCell, ActiveCell.Offset(C4, 0)).Select Selection.PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, _ SkipBlanks:=False, Transpose:=False End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Set Printable area to skip columns | Excel Discussion (Misc queries) | |||
Why does paging down skip ten rows? | Excel Worksheet Functions | |||
skip rows | Excel Discussion (Misc queries) | |||
skip rows | Excel Worksheet Functions | |||
Quick Macro question - How to delete two rows then skip one - and repeat | Excel Discussion (Misc queries) |