PC Review


Reply
Thread Tools Rate Thread

Copy without reference to original file

 
 
Crownman
Guest
Posts: n/a
 
      19th Jun 2007
Hi all,

I have a set of about 250spreadsheet files each contaning 4 individual
sheets. I now need to add an additional sheet to each file which will
contain cell references to cells on other sheets of that file.

I intended to add the sheet and create the cell references in one of
the files and simply copy that to the the added sheet in each of the
other files, but when doing so I found that the reference to the file
copied from was included in the cell reference in file I pasted to.

Example -

Copying from a file named first file and pasting to a file named
second file results in a cell reference like ='[first file.xls]sheet1!
$c$15 in second file. I need the pasted result to be =sheet1!$c$15.

Is there some way this can be accomplished or is there some other way
to go about this project?

Thanks for any advice

Crownman

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      19th Jun 2007
Before you copy the worksheet into the new workbook, change all the formulas to
text.

Select all the cells
edit|Replace
what: = (equal sign)
with: $$$$$=
replace all

Copy the worksheet into the receiving workbook(s) and reverse the change.

Alternatively, you can let the links get created, then...
Edit|Links|change source
to point at the new workbook.

Crownman wrote:
>
> Hi all,
>
> I have a set of about 250spreadsheet files each contaning 4 individual
> sheets. I now need to add an additional sheet to each file which will
> contain cell references to cells on other sheets of that file.
>
> I intended to add the sheet and create the cell references in one of
> the files and simply copy that to the the added sheet in each of the
> other files, but when doing so I found that the reference to the file
> copied from was included in the cell reference in file I pasted to.
>
> Example -
>
> Copying from a file named first file and pasting to a file named
> second file results in a cell reference like ='[first file.xls]sheet1!
> $c$15 in second file. I need the pasted result to be =sheet1!$c$15.
>
> Is there some way this can be accomplished or is there some other way
> to go about this project?
>
> Thanks for any advice
>
> Crownman


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?QmFyYiBSZWluaGFyZHQ=?=
Guest
Posts: n/a
 
      20th Jun 2007
I think I"d do this with VBA. First, there is a bit of housekeeping that
will need to be done. I'd put all of the 250 spreadsheet files in one
folder. Unfortunately, I have a lot of pieces of the code that you'd need
on another computer and it had a GREEN SCREEN today so I can't get to it.
If you haven't gotten a response by the time I get my other system back up,
I'll send one then.



"Crownman" wrote:

> Hi all,
>
> I have a set of about 250spreadsheet files each contaning 4 individual
> sheets. I now need to add an additional sheet to each file which will
> contain cell references to cells on other sheets of that file.
>
> I intended to add the sheet and create the cell references in one of
> the files and simply copy that to the the added sheet in each of the
> other files, but when doing so I found that the reference to the file
> copied from was included in the cell reference in file I pasted to.
>
> Example -
>
> Copying from a file named first file and pasting to a file named
> second file results in a cell reference like ='[first file.xls]sheet1!
> $c$15 in second file. I need the pasted result to be =sheet1!$c$15.
>
> Is there some way this can be accomplished or is there some other way
> to go about this project?
>
> Thanks for any advice
>
> Crownman
>
>

 
Reply With Quote
 
Crownman
Guest
Posts: n/a
 
      20th Jun 2007
On Jun 19, 5:35 pm, Barb Reinhardt
<BarbReinha...@discussions.microsoft.com> wrote:
> I think I"d do this with VBA. First, there is a bit of housekeeping that
> will need to be done. I'd put all of the 250 spreadsheet files in one
> folder. Unfortunately, I have a lot of pieces of the code that you'd need
> on another computer and it had a GREEN SCREEN today so I can't get to it.
> If you haven't gotten a response by the time I get my other system back up,
> I'll send one then.
>
>
>
> "Crownman" wrote:
> > Hi all,

>
> > I have a set of about 250spreadsheet files each contaning 4 individual
> > sheets. I now need to add an additional sheet to each file which will
> > contain cell references to cells on other sheets of that file.

>
> > I intended to add the sheet and create the cell references in one of
> > the files and simply copy that to the the added sheet in each of the
> > other files, but when doing so I found that the reference to the file
> > copied from was included in the cell reference in file I pasted to.

>
> > Example -

>
> > Copying from a file named first file and pasting to a file named
> > second file results in a cell reference like ='[first file.xls]sheet1!
> > $c$15 in second file. I need the pasted result to be =sheet1!$c$15.

>
> > Is there some way this can be accomplished or is there some other way
> > to go about this project?

>
> > Thanks for any advice

>
> > Crownman- Hide quoted text -

>
> - Show quoted text -



Barb:

I haven't had a chance yet to test out Dave's suggested solutions, so
I would love to see your ideas as well.

Crownman

 
Reply With Quote
 
Crownman
Guest
Posts: n/a
 
      20th Jun 2007
On Jun 19, 2:35 pm, Dave Peterson <peter...@verizonXSPAM.net> wrote:
> Before you copy the worksheet into the new workbook, change all the formulas to
> text.
>
> Select all the cells
> edit|Replace
> what: = (equal sign)
> with: $$$$$=
> replace all
>
> Copy the worksheet into the receiving workbook(s) and reverse the change.
>
> Alternatively, you can let the links get created, then...
> Edit|Links|change source
> to point at the new workbook.
>
>
>
>
>
> Crownman wrote:
>
> > Hi all,

>
> > I have a set of about 250spreadsheet files each contaning 4 individual
> > sheets. I now need to add an additional sheet to each file which will
> > contain cell references to cells on other sheets of that file.

>
> > I intended to add the sheet and create the cell references in one of
> > the files and simply copy that to the the added sheet in each of the
> > other files, but when doing so I found that the reference to the file
> > copied from was included in the cell reference in file I pasted to.

>
> > Example -

>
> > Copying from a file named first file and pasting to a file named
> > second file results in a cell reference like ='[first file.xls]sheet1!
> > $c$15 in second file. I need the pasted result to be =sheet1!$c$15.

>
> > Is there some way this can be accomplished or is there some other way
> > to go about this project?

>
> > Thanks for any advice

>
> > Crownman

>
> --
>
> Dave Peterson- Hide quoted text -
>
> - Show quoted text -


Dave:

I tried a quick test on your alternate solution and it looked like it
will work just fine. Thanks so much for your help.

Crownman

 
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
How do I attach an original .xls file (not a copy) to an appointme RJPCPA Microsoft Outlook Discussion 1 27th Nov 2007 04:35 AM
Are reference type parameters passed as a copy of the original reference? ahaupt@gmail.com Microsoft C# .NET 0 2nd Sep 2005 02:30 PM
User form in copy of original file =?Utf-8?B?SmVubmlmZXI=?= Microsoft Excel Programming 3 17th Apr 2005 05:56 PM
Excel Reference points to original file =?Utf-8?B?S3VtYXI=?= Microsoft Excel Misc 2 24th Jan 2005 09:31 PM
Copy file and closing original Rob Microsoft Excel Programming 3 8th May 2004 01:37 PM


Features
 

Advertising
 

Newsgroups
 


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