LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Copy sheet from one workbook to another workbook problem

Hi VJ

You can do this

Select all cells
Use replace "=" to " =" (see the space before =)
Without quotes

Copy the sheet

And in the new workbook
Use replace " =" to "=" Without quotes

If you need help to do this in code post your macro
and I will try to help you


--
Regards Ron de Bruin
http://www.rondebruin.nl


"VJ" wrote in message ...
I am copying a sheet from one workbook (wb1) to another workbook(wb2) through
a VBA macro.

I can copy the sheet but there is one problem in copying process. After
copying I can see the following code in my cell.

=+'[wb1.xls]Sheet2'!C11

Is there any way to get rid of '[wb1.xls]' portion which is name of the
workbook? I need to keep Sheet2 but dont want to keep the name of the
workbook.

Help would really be appreciated.

Thanks and rgds,





 
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 sheet cells into differnt workbook/sheet, How? IVLUTA Excel Discussion (Misc queries) 2 June 2nd 09 11:16 PM
Copy sheet to different workbook 3Nails Excel Discussion (Misc queries) 2 November 6th 08 03:05 PM
Copy sheet to different workbook 3Nails Excel Discussion (Misc queries) 1 November 5th 08 07:28 PM
How To Copy a Sheet to Another workbook Mpho[_2_] Excel Programming 2 December 8th 03 10:27 AM
How To Copy a Sheet to Another workbook Mpho[_2_] Excel Programming 0 December 8th 03 09:30 AM


All times are GMT +1. The time now is 10:44 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"