Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default Copying and Pasting

Folks...

You gotta help me. I want to paste a serious of questions from column B on
sheet 1 into column B on sheet 2. However the cells on sheet 2 are merged
between B and G which means that when I paste into sheet 2 I get the contents
in every horizontal cell B C D E F & G. I have 2000 questions to copy across
30 sheets. All I want to do is copy and paste. Is there a way to make sure
when I paste that the question fills the merged cell rather thah demerging it
and laying down 6 repeats of the question that I have to back into and
demerge?

You'd think life would be simpler!

Thanks

Gordon...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Copying and Pasting

before doing the copy/paste you should create an equivalent merge structure
in sheet2 to the one in sheet1.

Run down the appropriate columns in sheet1, and if the cells are merged in
any row, merge the same cells in sheet2.

Once this has been accomplished the copy/paste will be much easier.
--
Gary''s Student
gsnu200709


"Gordon" wrote:

Folks...

You gotta help me. I want to paste a serious of questions from column B on
sheet 1 into column B on sheet 2. However the cells on sheet 2 are merged
between B and G which means that when I paste into sheet 2 I get the contents
in every horizontal cell B C D E F & G. I have 2000 questions to copy across
30 sheets. All I want to do is copy and paste. Is there a way to make sure
when I paste that the question fills the merged cell rather thah demerging it
and laying down 6 repeats of the question that I have to back into and
demerge?

You'd think life would be simpler!

Thanks

Gordon...

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Copying and Pasting

What do the formulas in B & C of Sheet2 look like? Sample values?

Merjet


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default Copying and Pasting

No formulas, just text.

"merjet" wrote:

What do the formulas in B & C of Sheet2 look like? Sample values?

Merjet



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default Copying and Pasting

Hi...

I think you've missed the point here. There are 2000 questions across 30
sheets your solution will take forever...

"Gary''s Student" wrote:

before doing the copy/paste you should create an equivalent merge structure
in sheet2 to the one in sheet1.

Run down the appropriate columns in sheet1, and if the cells are merged in
any row, merge the same cells in sheet2.

Once this has been accomplished the copy/paste will be much easier.
--
Gary''s Student
gsnu200709


"Gordon" wrote:

Folks...

You gotta help me. I want to paste a serious of questions from column B on
sheet 1 into column B on sheet 2. However the cells on sheet 2 are merged
between B and G which means that when I paste into sheet 2 I get the contents
in every horizontal cell B C D E F & G. I have 2000 questions to copy across
30 sheets. All I want to do is copy and paste. Is there a way to make sure
when I paste that the question fills the merged cell rather thah demerging it
and laying down 6 repeats of the question that I have to back into and
demerge?

You'd think life would be simpler!

Thanks

Gordon...



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Copying and Pasting

If Sheet2_Col_C is "just text", then how does copying from
Sheet1_Col_B to Sheet2_Col_B affect Sheet2_Col_C? At least that's the
way I read your #1. I can understand Col_C being affected if it has a
formula, but not if it "just text."

Hth,
Merjet


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default Copying and Pasting

Thats my point...

I highlight column B in sheet 1 and then go to column B in sheet 2 and
paste. because column B is merged with CDEF&G the question is pasted into
thise cilumns too, even though the cell was merged. Pasting demerges and
places the question in 6 cells horizontally!

"merjet" wrote:

If Sheet2_Col_C is "just text", then how does copying from
Sheet1_Col_B to Sheet2_Col_B affect Sheet2_Col_C? At least that's the
way I read your #1. I can understand Col_C being affected if it has a
formula, but not if it "just text."

Hth,
Merjet



  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Copying and Pasting

How about a macro that would go down column B in the source sheet looking for
mergers? It would create equivalent mergers in the destination sheet before
doing the paste?


Check back tomorrow.


--
Gary's Student
gsnu200709


"Gordon" wrote:

Thats my point...

I highlight column B in sheet 1 and then go to column B in sheet 2 and
paste. because column B is merged with CDEF&G the question is pasted into
thise cilumns too, even though the cell was merged. Pasting demerges and
places the question in 6 cells horizontally!

"merjet" wrote:

If Sheet2_Col_C is "just text", then how does copying from
Sheet1_Col_B to Sheet2_Col_B affect Sheet2_Col_C? At least that's the
way I read your #1. I can understand Col_C being affected if it has a
formula, but not if it "just text."

Hth,
Merjet



  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Copying and Pasting

Gordon

You'd think life would be simpler!


It can be.

Get rid of the merged cells which cause no end of problems with copying,
pasting, sorting, filtering and a bunch of others I can't think of right now.


Gord Dibben MS Excel MVP

On Fri, 9 Mar 2007 08:33:36 -0800, Gordon
wrote:

Hi...

I think you've missed the point here. There are 2000 questions across 30
sheets your solution will take forever...

"Gary''s Student" wrote:

before doing the copy/paste you should create an equivalent merge structure
in sheet2 to the one in sheet1.

Run down the appropriate columns in sheet1, and if the cells are merged in
any row, merge the same cells in sheet2.

Once this has been accomplished the copy/paste will be much easier.
--
Gary''s Student
gsnu200709


"Gordon" wrote:

Folks...

You gotta help me. I want to paste a serious of questions from column B on
sheet 1 into column B on sheet 2. However the cells on sheet 2 are merged
between B and G which means that when I paste into sheet 2 I get the contents
in every horizontal cell B C D E F & G. I have 2000 questions to copy across
30 sheets. All I want to do is copy and paste. Is there a way to make sure
when I paste that the question fills the merged cell rather thah demerging it
and laying down 6 repeats of the question that I have to back into and
demerge?

You'd think life would be simpler!

Thanks

Gordon...


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying & Pasting sjmonroe Excel Discussion (Misc queries) 5 November 20th 09 09:32 PM
Copying and Pasting davew21 Excel Discussion (Misc queries) 1 March 31st 06 03:40 PM
Copying and Pasting teresa Excel Programming 2 May 29th 05 10:24 PM
Copying and pasting bambam77[_16_] Excel Programming 0 October 19th 04 06:29 PM
Copying and pasting bambam77[_15_] Excel Programming 1 October 19th 04 05:05 PM


All times are GMT +1. The time now is 04:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"