Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Copy worksheet and paste it in New workbook, all data except Formulas

Hi,

I want to copy the entire worksheet and paste it into new
worksheet in new workbook. I want to copy everything
except formulas. I am able to do it though Paste special ,
values, format , comments everythings goes very well to
new worksheet except the Images. I have some images in
some cells in my workbook.

How to copy and paste images too..though VBA programming.

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Copy worksheet and paste it in New workbook, all data except Formulas

Sudarshan,

This copies Sheet1 from Book1 to Book2, adding the new sheet at the
beginning. It copies the whole sheet including images. The second line
converts all formulas in the UsedRange of the copied sheet to values:

Workbooks("Book1").Sheets("Sheet1").Copy
Befo=Workbooks("Book2").Sheets(1)
ActiveSheet.UsedRange = ActiveSheet.UsedRange.Value

hth,

Doug Glancy
"Sudarshan" wrote in message
...
Hi,

I want to copy the entire worksheet and paste it into new
worksheet in new workbook. I want to copy everything
except formulas. I am able to do it though Paste special ,
values, format , comments everythings goes very well to
new worksheet except the Images. I have some images in
some cells in my workbook.

How to copy and paste images too..though VBA programming.

Thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Copy worksheet and paste it in New workbook, all data except Formulas


-----Original Message-----
Sudarshan,

This copies Sheet1 from Book1 to Book2, adding the new

sheet at the
beginning. It copies the whole sheet including images.

The second line
converts all formulas in the UsedRange of the copied

sheet to values:

Workbooks("Book1").Sheets("Sheet1").Copy
Befo=Workbooks("Book2").Sheets(1)
ActiveSheet.UsedRange = ActiveSheet.UsedRange.Value

hth,

Doug Glancy
"Sudarshan" wrote

in message
...
Hi,

I want to copy the entire worksheet and paste it into

new
worksheet in new workbook. I want to copy everything
except formulas. I am able to do it though Paste

special ,
values, format , comments everythings goes very well to
new worksheet except the Images. I have some images in
some cells in my workbook.

How to copy and paste images too..though VBA

programming.

Thanks in advance.



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Copy worksheet and paste it in New workbook, all data except Formulas

Hi,

Thanks for quick reply..It works fine..But I have one
problem.. The sheets which I am Copying has VBA code
behind it.. I don't want the code to be copied new
worksheet.. Any solutions for it..

Thanks,

Sudarshan


-----Original Message-----
Sudarshan,

This copies Sheet1 from Book1 to Book2, adding the new

sheet at the
beginning. It copies the whole sheet including images.

The second line
converts all formulas in the UsedRange of the copied

sheet to values:

Workbooks("Book1").Sheets("Sheet1").Copy
Befo=Workbooks("Book2").Sheets(1)
ActiveSheet.UsedRange = ActiveSheet.UsedRange.Value

hth,

Doug Glancy
"Sudarshan" wrote

in message
...
Hi,

I want to copy the entire worksheet and paste it into

new
worksheet in new workbook. I want to copy everything
except formulas. I am able to do it though Paste

special ,
values, format , comments everythings goes very well to
new worksheet except the Images. I have some images in
some cells in my workbook.

How to copy and paste images too..though VBA

programming.

Thanks in advance.



.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Copy worksheet and paste it in New workbook, all data except Formulas

Hi
see your other post

--
Regards
Frank Kabel
Frankfurt, Germany


Sudarshan wrote:
Hi,

Thanks for quick reply..It works fine..But I have one
problem.. The sheets which I am Copying has VBA code
behind it.. I don't want the code to be copied new
worksheet.. Any solutions for it..

Thanks,

Sudarshan


-----Original Message-----
Sudarshan,

This copies Sheet1 from Book1 to Book2, adding the new sheet at the
beginning. It copies the whole sheet including images. The second
line converts all formulas in the UsedRange of the copied sheet to
values:

Workbooks("Book1").Sheets("Sheet1").Copy
Befo=Workbooks("Book2").Sheets(1)
ActiveSheet.UsedRange = ActiveSheet.UsedRange.Value

hth,

Doug Glancy
"Sudarshan" wrote in message
...
Hi,

I want to copy the entire worksheet and paste it into new
worksheet in new workbook. I want to copy everything
except formulas. I am able to do it though Paste special ,
values, format , comments everythings goes very well to
new worksheet except the Images. I have some images in
some cells in my workbook.

How to copy and paste images too..though VBA programming.

Thanks in advance.



.


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
copy data and formulas from a column and paste into a row john.laffe[_2_] Excel Worksheet Functions 1 December 12th 07 02:59 PM
Copy and Paste Chart as Picture into another workbook or worksheet SteveC Charts and Charting in Excel 1 February 15th 07 11:47 PM
how do I copy a worksheet with formulas to another workbook? bjmcfp Excel Worksheet Functions 1 July 8th 06 02:36 AM
How to copy formulas to a new workbook? Paste Special is different MS-Requestor Excel Worksheet Functions 2 May 10th 06 10:19 PM
How to copy worksheet or workbook without formulas Outapin Excel Discussion (Misc queries) 1 December 12th 05 04:58 PM


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

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"