Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2007

Tip: Looking for answers? Try searching our database.

Pasting to a name...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gojavid - 16 Apr 2007 13:53 GMT
This is a simple problem or it's not even possible, but I have some
code like

pt_1=worksheets("Sheet1").range("a1")

and I need to be able to use code to paste to this location using the
name I gave it.

I tried,

pt_1.pastespecial

, but obviously it didn't work.

Any suggestions?
Dave Peterson - 16 Apr 2007 14:26 GMT
Maybe...

Dim Pt_1 as range
set pt_1 = worksheets("sheet1").range("a1")

Someotherrange.copy
pt_1.pastespecial paste:=xlpastevalues

> This is a simple problem or it's not even possible, but I have some
> code like
[quoted text clipped - 11 lines]
>
> Any suggestions?

Signature

Dave Peterson

jan - 16 Apr 2007 14:26 GMT
David,

Perhaps this:

Range("pt_1")=worksheets("Sheet1").range("a1")

Jan

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.