Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I get error 1004 "Unable to get the pastespecial property of the range
class". Thanks again! ' Generic subroutine to transpose a range of cells ' from source to destination ' *** WARNING *** ' This should be used when ranges match, i.e, source and ' destination ranges have the same number of cells Sub copyRange(sRange As Range, dRange As Range) If (sRange.Cells.Count = dRange.Cells.Count) Then sRange.Copy dRange.PasteSpecial(Paste:=xlAll, _ Operation:=xlNone, _ SkipBlanks:=True, _ Transpose:=True) Application.CutCopyMode = False End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
runtime error '1004' application or object defined error | Excel Programming | |||
runtime error '1004' application or object defined error. Please help | Excel Programming | |||
What causes runtime error 1004? | Excel Discussion (Misc queries) | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) | |||
Runtime error 1004 | Excel Programming |