Hello Excel Gurus,
I have a Workbook at my office that produces TV Edit Reports based on what the employee enters. Upon clicking a save button, the sheet saves a certain range of cells in that sheet (with their values & formulas) to a brand new shiny workbook, saves it and closes it. Another department will then open these exported sheets for future reference. However, I'm in a bit of a muddle as Excel isn't behaving as I want - upon opening the saved exported sheets I get links to the original sheet in my formulas...
eg."" =IF(L12="","",'\\dne\collaborate\MTP&O\Post Production Services .... tcupdate.xla'!TCsum(L12:L18)) ""
This creates all kinds of weird pop ups when my colleagues open the file. I need values to be retained and formulas to stay localised to the current sheet. I've spent a few days now going through the inter-web to find a solution but I'm stuck. When I create the Workbook copy I run this...
...expecting the values to be pasted in, then have the formulas pasted over the top to apply those formulas to the necessary cells. But still I get links. I've tried, copying and pasting the whole sheet, I've tried a find & replace but couldn't get to search the formulas.
Anyone have any ideas how to achieve this?
MikeDC
I have a Workbook at my office that produces TV Edit Reports based on what the employee enters. Upon clicking a save button, the sheet saves a certain range of cells in that sheet (with their values & formulas) to a brand new shiny workbook, saves it and closes it. Another department will then open these exported sheets for future reference. However, I'm in a bit of a muddle as Excel isn't behaving as I want - upon opening the saved exported sheets I get links to the original sheet in my formulas...
eg."" =IF(L12="","",'\\dne\collaborate\MTP&O\Post Production Services .... tcupdate.xla'!TCsum(L12:L18)) ""
This creates all kinds of weird pop ups when my colleagues open the file. I need values to be retained and formulas to stay localised to the current sheet. I've spent a few days now going through the inter-web to find a solution but I'm stuck. When I create the Workbook copy I run this...
Code:
With ActiveWorkbook.Sheets(SafeShtName).Range("A1:Q65")
.Copy
.PasteSpecial xlPasteValues
.PasteSpecial xlPasteFormulas
.Range("A1").Select
End With
...expecting the values to be pasted in, then have the formulas pasted over the top to apply those formulas to the necessary cells. But still I get links. I've tried, copying and pasting the whole sheet, I've tried a find & replace but couldn't get to search the formulas.
Anyone have any ideas how to achieve this?
MikeDC