Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Copy/paste range without resizeing cells

Hello,

I want to copy cell data (presented as a table with 10 rows and 3 cols) from
one WB to another.
The problem is that the cell sizes differs between the two tables.
When pasting the range into the receiving table I want to keep the
cell-sizes in the receiving table.
How do I accomplish this?
Today I use:

Range("F34:N44").Select
Selection.Copy
....
ActiveSheet.Paste

Ideas someone?

/konpego

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Copy/paste range without resizeing cells

Range("F34:N44").Select
Selection.Copy
....
Activecell.Select
ActiveSheet.PasteSpecial xlValues

--
Regards,
Tom Ogilvy


"konpego" wrote in message
...
Hello,

I want to copy cell data (presented as a table with 10 rows and 3 cols)

from
one WB to another.
The problem is that the cell sizes differs between the two tables.
When pasting the range into the receiving table I want to keep the
cell-sizes in the receiving table.
How do I accomplish this?
Today I use:

Range("F34:N44").Select
Selection.Copy
...
ActiveSheet.Paste

Ideas someone?

/konpego



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Copy/paste range without resizeing cells

"?B?a29ucGVnbw==?=" wrote in message ...
Hello,

I want to copy cell data (presented as a table with 10 rows and 3 cols) from
one WB to another.
The problem is that the cell sizes differs between the two tables.
When pasting the range into the receiving table I want to keep the
cell-sizes in the receiving table.
How do I accomplish this?
Today I use:

Range("F34:N44").Select
Selection.Copy
...
ActiveSheet.Paste

Ideas someone?

/konpego


Just use:

"ActiveSheet.PasteSpecial(xlPasteAll)"

and not only ".Paste"

Bye,
David
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
How to copy a range of cells and paste into a new workbook in differentcolumns Mas[_4_] Excel Discussion (Misc queries) 3 August 16th 11 02:57 PM
I'm unable to highlight a range of cells to copy and paste in exce Sharen Excel Worksheet Functions 1 January 28th 09 06:30 PM
Copy & Paste Across Sheet Tabs in a Range of Cells Karen Excel Discussion (Misc queries) 4 November 11th 08 09:25 PM
copy and paste cells non-randomly form range saman110 via OfficeKB.com Excel Discussion (Misc queries) 3 August 6th 07 06:14 PM
copy/paste won't refer to the appropriate range of cells debandstormy Excel Discussion (Misc queries) 1 August 30th 06 02:29 AM


All times are GMT +1. The time now is 08:54 AM.

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

About Us

"It's about Microsoft Excel"