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 / Programming / December 2007

Tip: Looking for answers? Try searching our database.

copy/paste

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ceemo - 22 Sep 2005 13:28 GMT
hi all,

I want to know if the below if possible.

When copyng multiple cell ranges from one sheet/book to another. is it
possible to copy more than more cell range at a time from the primary
to the secondary ??

This would cut out the need for moving between the same sheets many
times.

Signature

ceemo

dominicb - 22 Sep 2005 13:52 GMT
Good afternoon Ceemo

Excel will, to a degree, perform copying from a multiple selection –
that is where ctrl is held down while the user selects different areas
of the spreadsheet.  In some cases the user will receive the error
message  “That command cannot be used on multiple selections”.
However, if the selection to be copied includes the same cells from a
number of rows (eg. A1:A4 and C1:C4), or the same cells from a number
of columns (eg. A1:C1 and A4:C4), then it will work – but with two
peculiar side effects :  any formulae copied will be pasted as values,
and any spaces included in the selection will disappear.  This does not
appear to be documented in the help files.

However, I have a free add-in available upon request that will, amongst
other things, copy and paste multile ranges (across workbooks if
required) which has none of the above side effects.  If you require
this, please e-mail me.

Regards

DominicB
dominic@dom-and-lis.co.uk

Signature

dominicb

ceemo - 22 Sep 2005 17:54 GMT
is there vb code for this ?

does it only work in certain versions of excel

Signature

ceemo

ceemo - 22 Sep 2005 18:48 GMT
upon reading the reply again i see what you mean. holding down ctrl will
select and copy accross multi cells. However what im looking for is a
way i can copy multi cells and paste them where i want not where they
originaly appear on the sheet

examle

sheet1 copy1 range("A1:D4")
sheet1 copy2 range("F3:F7")

sheet2 range("j3").select
paste copy1

sheets3 range("g1")
paste copy2

Signature

ceemo

dominicb - 22 Sep 2005 19:03 GMT
Hi Ceemo

It works on all versions of excel from XL97 onwards, and you paste the
range as a "single unit", not as a series of units, if you see what I
mean.  I've just seen your e-mail and will you send you the file in a
couple of minutes.

HTH

DominicB

Signature

dominicb

ceemo - 22 Sep 2005 19:34 GMT
thnx got your mail. is there any known way of opying a series of cells
in one go?

Signature

ceemo

dominicb - 22 Sep 2005 21:43 GMT
Hi Ceemo

I would say no ...

BUT

.. I use XL2000 at work and it has a toolbar called "clipboard" whic
allows me to copy 12 individual ranges to it to paste where and when
please, and I have XL2003 at home which doesn't have this toolbar.  
don't know if anyone can spread any light on this "clipboard
toolbar...?

HTH

Dominic
rizabdullah - 25 Dec 2007 00:07 GMT
>Hi Ceemo
>
[quoted text clipped - 11 lines]
>
>Dominic

Hi There

I have been following this thread, and would like to know something; If I
have data on one.xls and on two.xls and want to copy all the data and paste
that data on to three.xls; is there any way via VB? Thanks in advance.
 
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.