For example, there are two Excel files. Each file includes two sheets. In each file the names of the two sheets are identical. One sheet named Sheet-A the other sheet named Summary.
After copying the Summary sheet from File1 to File2, the content of a cell, in the sheet Summary that has been just copied to File2, will look like this:
=VLOOKUP(A10,'[FILE1.xls]Sheet-A'!$D$2:$K$100,5,0)
As can be
seen the data in Summary sheet of File2 is taken now from Sheet-A of File1 while we want it to be taken from Sheet-A of File2.
If the links
to File1 will be removed the data in the Summary sheet of File2 will be taken
from Sheet-A of File2 its self and not from File1.
After removing the links, the content of a cell in File2 will look like this:
=VLOOKUP(A10,'Sheet-A'!$D$2:$K$100,5,0)
Now the VLOOKUP function takes the data from Sheet-A of File2.
Option 1
After removing the links, the content of a cell in File2 will look like this:
=VLOOKUP(A10,'Sheet-A'!$D$2:$K$100,5,0)
Now the VLOOKUP function takes the data from Sheet-A of File2.
Option 1
Remove all the links from the sheet Summary of File2 through the Edit Links window:
- Click the square at the top let corner of the sheet, left to column A, to select the entire Sheet.
- Click the Data TAB
- Click the Edit Links button
- Click the Change Source button
Pop up window will open to explore file locations
- Go to the location of File2.xls and click the Open button
Clicking the Open button after File2.xls is displayed in the ‘File name:’ field.
The above window will automatically close and the next window will show up.
The above window will automatically close and the next window will show up.
The line with the link to File1.xls has been removed automatically.
- Click the Close button to complete the process
Done, now all functions in File2 take the data from Sheet-A of File2.
* * *
I was previously doing a find and replace, this is easier. It is rather shameful that as powerful as Excel seems to be that Microsoft has not figured out this is a cumbersome activity for its users. Going through these gyrations leaves workbooks subject to error
ReplyDeleteFunny how many "solutions" I've seen for this problem. None of them work. Excel is just a steaming pile of crap.
ReplyDeleteMicroSoft must have heard you because this works GREAT now (in 2016!) Very Sweet!
ReplyDelete
ReplyDeleteYour blog is very nice and provide me informative content thanks for sharing for more information about Copy Worksheet