Actually, how does the whole Range.Insert function work?
The documentation in help isn't too helpful, nor is the
book I'm using (Walkenbach)
What I want to do is insert in one worksheet a copy of a
range of rows from another sheet.
Thanks. --David.
Thanks. --David.
>.
>
Application.CutCopyMode = False
CopyOrigin seems to be a nonfunctional feature. I don't think there is a way
of inserting a range without actually cutting or copying it ... unless you
just want to copy values, in which case you could use something like:
rngDestination.Value = rngSource.Value
But I don't think that's what you're looking for.
--
Vasant
"David Lewis" <anon...@discussions.microsoft.com> wrote in message
news:009801c3c320$95539b00$a101...@phx.gbl...
Not sure what copyorigin refers to.
--
Regards,
Tom Ogilvy
"David Lewis" <anon...@discussions.microsoft.com> wrote in message
news:009801c3c320$95539b00$a101...@phx.gbl...
Ah, thanks! That makes cutting and copying quite a bit
more attractive.
>CopyOrigin seems to be a nonfunctional feature. I don't
think there is a way
>of inserting a range without actually cutting or copying it
Yep, was about to draw the same conclusion myself. Seems
like an odd omission.
--David.
---
Message posted from http://www.ExcelForum.com/
Sub Demo()
[D1] = "Hello"
[D2] = "There"
[D1:D2].Copy
[A1:A10].Insert Shift:=xlShiftDown, CopyOrigin:=True
Application.CutCopyMode = False
End Sub
HTH. :>)
--
Dana DeLouis
Using Windows XP & Office XP
= = = = = = = = = = = = = = = = =
"Vasant Nanavati" <vasantn *AT* aol *DOT* com> wrote in message
news:%23pFceMy...@TK2MSFTNGP09.phx.gbl...
--
Dana DeLouis
= = = = = = = = = = = = = = = = =
<snip>