View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Tail Wind Tail Wind is offline
external usenet poster
 
Posts: 24
Default Copy Worksheet to another Workbook

Thank you Max.

I have found out copying worksheets is not as easy as it sounds. Controls
like "spinners" must not be part of the Replace search routine. They copy to
the new worksheet with the original worksheet as the control cell link. Live
and learn.

I also made the mistake of renaming a worksheet in the destination worksheet
so as to not lose the data if something went wrong during the copy process.
BIG MISTAKE. This forced Excel to rename formulas to the new worksheet name.
Make a file backup of the workbook instead. And I should have known....what
was I thinking!

Have a great year. Thanks from N. IL USA

"Max" wrote:

That's the way Excel behaves when you do the copying

You could try it in this manner:
1. Use EditReplace to change all equal signs, viz: = to say: zzz in the
entire sheet
2. Copy the sheet over into the new book, then reverse the process there by
using EditReplace to change all: zzz back to equal signs: = in the entire
sheet
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Tail Wind" wrote:
I have two workbooks open and trying to copy a worksheet from one to
another. I am using the Right click on the tab name, Move or Copy, and
selecting copy checkbox. The copy occurs however the formulas refer to the
orginial workbook which is undesired.

In reading this forum, this should not be occuring. What am I doing wrong?