PC Review


Reply
Thread Tools Rate Thread

Copy Excel Sheet to another sheet and preserve formatting?

 
 
=?Utf-8?B?UmljaA==?=
Guest
Posts: n/a
 
      3rd May 2007
How do you copy an Excel sheet to another sheet - or create a new worksheet
and use the same formatting as another sheet? Like sheet 1 columns A-M are
..5 width. How can I copy the contents of sheet1 to Sheet2 and preserve the
formatting in sheet1?

Thanks,
Rich
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIEphY2tzb24=?=
Guest
Posts: n/a
 
      3rd May 2007
In VBA

Range("A1:Z600").Copy
Workbooks(wbk2).Activate
Sheets("Sheet1").Range("A1").PasteSpecial xlPasteFormats
Sheets("Sheet1").Range("A1").PasteSpecial xlPasteFormulas (or xlPasteValues)
--
Best wishes,

Jim


"Rich" wrote:

> How do you copy an Excel sheet to another sheet - or create a new worksheet
> and use the same formatting as another sheet? Like sheet 1 columns A-M are
> .5 width. How can I copy the contents of sheet1 to Sheet2 and preserve the
> formatting in sheet1?
>
> Thanks,
> Rich

 
Reply With Quote
 
=?Utf-8?B?UmljaA==?=
Guest
Posts: n/a
 
      3rd May 2007
Thanks. I can handle doing it in VBA. My issue was that if I wanted to
retain column widths, row widths, ... With the gui PasteSpecial I can select
ColumnWidths, and it will copy the column widths but not the data. And I did
not see anything in the gui for copying row widts.

I guess I should really as -- how to copy an Excel Sheet to a new Excel
Sheet (or to another workbook) and keep everything intact. I know there is a
way to do this through the gui - I just can't remember how to do it.


"Jim Jackson" wrote:

> In VBA
>
> Range("A1:Z600").Copy
> Workbooks(wbk2).Activate
> Sheets("Sheet1").Range("A1").PasteSpecial xlPasteFormats
> Sheets("Sheet1").Range("A1").PasteSpecial xlPasteFormulas (or xlPasteValues)
> --
> Best wishes,
>
> Jim
>
>
> "Rich" wrote:
>
> > How do you copy an Excel sheet to another sheet - or create a new worksheet
> > and use the same formatting as another sheet? Like sheet 1 columns A-M are
> > .5 width. How can I copy the contents of sheet1 to Sheet2 and preserve the
> > formatting in sheet1?
> >
> > Thanks,
> > Rich

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      3rd May 2007
Rich

Right-click on sheet tab and "Move or Copy"

Click "create a copy" and select where you want it to go.

Note: you can copy row heights if you select the entire rows, not just the
cells in those rows.


Gord Dibben MS Excel MVP

On Thu, 3 May 2007 15:21:01 -0700, Rich <(E-Mail Removed)> wrote:

>Thanks. I can handle doing it in VBA. My issue was that if I wanted to
>retain column widths, row widths, ... With the gui PasteSpecial I can select
>ColumnWidths, and it will copy the column widths but not the data. And I did
>not see anything in the gui for copying row widts.
>
>I guess I should really as -- how to copy an Excel Sheet to a new Excel
>Sheet (or to another workbook) and keep everything intact. I know there is a
>way to do this through the gui - I just can't remember how to do it.
>
>
>"Jim Jackson" wrote:
>
>> In VBA
>>
>> Range("A1:Z600").Copy
>> Workbooks(wbk2).Activate
>> Sheets("Sheet1").Range("A1").PasteSpecial xlPasteFormats
>> Sheets("Sheet1").Range("A1").PasteSpecial xlPasteFormulas (or xlPasteValues)
>> --
>> Best wishes,
>>
>> Jim
>>
>>
>> "Rich" wrote:
>>
>> > How do you copy an Excel sheet to another sheet - or create a new worksheet
>> > and use the same formatting as another sheet? Like sheet 1 columns A-M are
>> > .5 width. How can I copy the contents of sheet1 to Sheet2 and preserve the
>> > formatting in sheet1?
>> >
>> > Thanks,
>> > Rich


 
Reply With Quote
 
=?Utf-8?B?UmljaA==?=
Guest
Posts: n/a
 
      4th May 2007
Thank you for this information.

"Gord Dibben" wrote:

> Rich
>
> Right-click on sheet tab and "Move or Copy"
>
> Click "create a copy" and select where you want it to go.
>
> Note: you can copy row heights if you select the entire rows, not just the
> cells in those rows.
>
>
> Gord Dibben MS Excel MVP
>
> On Thu, 3 May 2007 15:21:01 -0700, Rich <(E-Mail Removed)> wrote:
>
> >Thanks. I can handle doing it in VBA. My issue was that if I wanted to
> >retain column widths, row widths, ... With the gui PasteSpecial I can select
> >ColumnWidths, and it will copy the column widths but not the data. And I did
> >not see anything in the gui for copying row widts.
> >
> >I guess I should really as -- how to copy an Excel Sheet to a new Excel
> >Sheet (or to another workbook) and keep everything intact. I know there is a
> >way to do this through the gui - I just can't remember how to do it.
> >
> >
> >"Jim Jackson" wrote:
> >
> >> In VBA
> >>
> >> Range("A1:Z600").Copy
> >> Workbooks(wbk2).Activate
> >> Sheets("Sheet1").Range("A1").PasteSpecial xlPasteFormats
> >> Sheets("Sheet1").Range("A1").PasteSpecial xlPasteFormulas (or xlPasteValues)
> >> --
> >> Best wishes,
> >>
> >> Jim
> >>
> >>
> >> "Rich" wrote:
> >>
> >> > How do you copy an Excel sheet to another sheet - or create a new worksheet
> >> > and use the same formatting as another sheet? Like sheet 1 columns A-M are
> >> > .5 width. How can I copy the contents of sheet1 to Sheet2 and preserve the
> >> > formatting in sheet1?
> >> >
> >> > Thanks,
> >> > Rich

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 does not preserve sheet protection Maximilian Taino Microsoft Excel Discussion 1 31st Jul 2008 02:22 PM
Re: Excel 97: Copy Range with all formatting to another Sheet Mike Middleton Microsoft Excel Programming 8 14th May 2008 07:28 PM
Re: Excel 97: Copy Range with all formatting to another Sheet Peter T Microsoft Excel Programming 0 13th May 2008 10:30 PM
In EXCEL copy sheet layout to another sheet =?Utf-8?B?U3Rhbg==?= Microsoft Excel Misc 2 1st Feb 2006 07:07 PM
How do I copy a print format from sheet to sheet in excel ? =?Utf-8?B?a2VybmF0?= Microsoft Excel Misc 1 22nd Jul 2005 04:59 PM


Features
 

Advertising
 

Newsgroups
 


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