origapizni
Programmer
I recorded this but when I play it back, it fails with
Runtime error '1004': 'PasteSpecial method of Range class failed'. I can't locate the xlDataValidation constant in my Object Browser, but all the other "Paste:=" constants show up. Is this a known bug in Excel? Any ideas? Anyone else experienced this?
Sub Macro4()
Rows("28:28"
.Select
Selection.Copy
Rows("27:27"
.Select
Selection.PasteSpecial Paste:=xlDataValidation, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
End Sub
Using Office 2k, Excel 2k, Win 2k
Thanks in advance!
Runtime error '1004': 'PasteSpecial method of Range class failed'. I can't locate the xlDataValidation constant in my Object Browser, but all the other "Paste:=" constants show up. Is this a known bug in Excel? Any ideas? Anyone else experienced this?
Sub Macro4()
Rows("28:28"
Selection.Copy
Rows("27:27"
Selection.PasteSpecial Paste:=xlDataValidation, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
End Sub
Using Office 2k, Excel 2k, Win 2k
Thanks in advance!