Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to prevent a graph update

I have a workbook, containing different sheets with data acquired as readings
of an instrument. These data are visualized on a graph. located on the same
sheet. Finishing the data acquisition I copy this sheet and paste it in a new
worksheet, and rename the sheet according the sheet name it was copied from
and adding to the name a serial number. I save this new worksheet with
UpdateLinkNever option. But when I repeat the data acquisition using the
"master" workbook, and copy the newly acquired data conatining sheet in the
workbook former saved with the above option, the graph on the sheet copied
former in this workbook will be refreshed with the newly acquired data,
living the cells containing the source on this sheet unchanged. How can I
copy a sheet containing data and graph in a new woksheet such a way, that the
graphs data surce will be updated for the new location of the sheet?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 395
Default How to prevent a graph update

I believe the updatelinks only refers to links outside the workbook- so if
you are pasting new data into the workbook, any graphs that reference that
data sheet would update.

Consider this alternative approach; when copy/pasting the graph, copy/paste
as picture, rather than as an Excel object. To see sample code for XL2003:
1. start recording a macro
2. select a graph or range of cells
3. hold down the shift key and click
4. Click the edit menu
5. Select "copy as picture"
6. Paste the image to your target sheet

note that copy as picture gives several options, so you may want to test
each in advance to see which one you really want to record.

You didn't mention which version of Excel you are using; if it is 2007, then
check the help menu or google for the specific steps or syntax to copy or
paste as picture.

HTH,
Keith

"Öregjani" wrote:

I have a workbook, containing different sheets with data acquired as readings
of an instrument. These data are visualized on a graph. located on the same
sheet. Finishing the data acquisition I copy this sheet and paste it in a new
worksheet, and rename the sheet according the sheet name it was copied from
and adding to the name a serial number. I save this new worksheet with
UpdateLinkNever option. But when I repeat the data acquisition using the
"master" workbook, and copy the newly acquired data conatining sheet in the
workbook former saved with the above option, the graph on the sheet copied
former in this workbook will be refreshed with the newly acquired data,
living the cells containing the source on this sheet unchanged. How can I
copy a sheet containing data and graph in a new woksheet such a way, that the
graphs data surce will be updated for the new location of the sheet?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to prevent a graph update

Thank you for the idea, but this solution in my case is not optimal, because
I loose the possibility for occasional editing the graphs. I'm thinking now
about the editing the references of graphs according the post-paste location.

ker_01 ezt *rta:

I believe the updatelinks only refers to links outside the workbook- so if
you are pasting new data into the workbook, any graphs that reference that
data sheet would update.

Consider this alternative approach; when copy/pasting the graph, copy/paste
as picture, rather than as an Excel object. To see sample code for XL2003:
1. start recording a macro
2. select a graph or range of cells
3. hold down the shift key and click
4. Click the edit menu
5. Select "copy as picture"
6. Paste the image to your target sheet

note that copy as picture gives several options, so you may want to test
each in advance to see which one you really want to record.

You didn't mention which version of Excel you are using; if it is 2007, then
check the help menu or google for the specific steps or syntax to copy or
paste as picture.

HTH,
Keith

"Öregjani" wrote:

I have a workbook, containing different sheets with data acquired as readings
of an instrument. These data are visualized on a graph. located on the same
sheet. Finishing the data acquisition I copy this sheet and paste it in a new
worksheet, and rename the sheet according the sheet name it was copied from
and adding to the name a serial number. I save this new worksheet with
UpdateLinkNever option. But when I repeat the data acquisition using the
"master" workbook, and copy the newly acquired data conatining sheet in the
workbook former saved with the above option, the graph on the sheet copied
former in this workbook will be refreshed with the newly acquired data,
living the cells containing the source on this sheet unchanged. How can I
copy a sheet containing data and graph in a new woksheet such a way, that the
graphs data surce will be updated for the new location of the sheet?

Reply
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
Prevent Some/Allow Some cells to update on F9 Arlen Excel Worksheet Functions 2 May 6th 10 04:55 PM
Excel 2007- prevent graph from plotting zeros sportique Charts and Charting in Excel 2 December 11th 07 04:09 PM
Prevent Excel putting full filename in external links on update [email protected] Excel Discussion (Misc queries) 5 March 29th 07 08:42 PM
How to prevent file date change when no update made in Excel? John2348 Excel Discussion (Misc queries) 0 June 16th 06 04:27 PM
prevent display of data series dropping to graph x axis for null d norco Charts and Charting in Excel 2 December 21st 05 01:39 PM


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