+ Reply to Thread
Results 1 to 11 of 11

Auto updated chart

  1. #1
    Registered User
    Join Date
    10-01-2007
    Posts
    7

    Auto updated chart

    Hi

    I am trying to have and auto updated chart. I want to add a new date (in row A) and a new value (in row B) every time I open my excel file. But I don't want to have and ex. =(K22) in the cell that goes to the chart. This will influence the chart before the data has been added.

    What I want is a kind of "send value to" function. So that the cell which send info to the chart is empty untill it is auto-updated.

    Something like cell K22 has the following function (=Send"23.10.2007";(A23))
    In this case cell A23 will be empty until this function is activated through an =if function activates cell K22

    -Trygve
    Last edited by VBA Noob; 10-01-2007 at 02:26 PM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Does this link offer any help?

    http://peltiertech.com/Excel/Charts/...umnChart1.html
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    10-01-2007
    Posts
    7
    Thanks but this didn't help.

    My problem is to make cell A send an input to cell B, so that cell B can stay empty untill it is needed in the chart.

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Do you mean something like this?

    =IF(K22=VALUE("23/10/2007"),A23,"")

  5. #5
    Registered User
    Join Date
    10-01-2007
    Posts
    7
    No sorry, not that either...

    I know it is the wrong fx, but just to illustrate:
    =IF(K22=VALUE("23/10/2007");A23;(""))
    My goal is to make A23 say "23/10/2007" when K22's value is "23/10/2007", but without writing any fx into A23. Cell A23 should stay totaly empty until the 23/10/2007

    thanks so far :-)

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    OK, so you want A23 to remain blank until 23/10/2007?

    How about this in A23

    =IF(K22=TODAY(),K22,"") then when A23 gets to 23/10/2007, then it will display in A23, before or after that date it displays blank

    or if you want A23 to display even after 23/10/2007, then you could use this

    =IF(K22<=TODAY(),K22,"")

  7. #7
    Registered User
    Join Date
    10-01-2007
    Posts
    7
    I want A23 to be totaly empty.. nothing.. not even a fx (function) that is hidden. K22 should be the cell that makes something happen in cell A23

    -Taleksak

  8. #8
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    I would say the only way to do this is with VBA, unfortunately, not my expertise, but may be one of the programmers can help? - ANY ONE OUT THERE?

  9. #9
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See if this works.

    Right click the sheet tab > select view code > paste the below in.

    Type 23/10/07 into any cell in Col A and Col B will return that date

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  10. #10
    Registered User
    Join Date
    10-01-2007
    Posts
    7
    I couldn't make the visual basic code work, but I have a good feeling about VB. But my skills are not good enough... I think I might need to read a few books :-)

    Thanks to both of you

  11. #11
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See attached example plus some links to help tweak code

    Where to place code

    About events macros - Link 1

    About event macros - Link 2

    VBA Noob
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1