+ Reply to Thread
Results 1 to 6 of 6

on cell change enter just the value

  1. #1
    Registered User
    Join Date
    07-08-2010
    Location
    Illinois
    MS-Off Ver
    excel 2007 and 2003
    Posts
    11

    on cell change enter just the value

    I have several cells (A8:K16) with if statements like:
    Please Login or Register  to view this content.
    I would like the true statement to return the true value and not the if statement and formula.

    Thanks for helping

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: on cell change enter just the value

    Hello theresap,

    What do you mean by the true value? Is the calculated value incorrect? Can you provide some before and after examples?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    07-08-2010
    Location
    Illinois
    MS-Off Ver
    excel 2007 and 2003
    Posts
    11

    Re: on cell change enter just the value

    The display value is correct. I would like the formula behind it to disappear, so only the number is in the cell.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: on cell change enter just the value

    Hello theresap,

    How to Save a Worksheet Event Macro
    1. Copy the macro using CTRL+C keys.
    2. Open your Workbook and Right Click on the Worksheet's Name Tab for the Worksheet the macro will run on.
    3. Left Click on View Code in the pop up menu.
    4. Paste the macro code using CTRL+V
    5. Make any custom changes to the macro if needed at this time.
    6. Save the macro in your Workbook using CTRL+S

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-08-2010
    Location
    Illinois
    MS-Off Ver
    excel 2007 and 2003
    Posts
    11

    Re: on cell change enter just the value

    I followed your instructions. Since I do not know what it is telling me to do, I do not know how to "Make any custom changes to the macro if needed at this time. "
    It is not working. I think it is because of the if statement: =IF($A$22="07/01/10 - 07/15/10",($H$21),"").

    The other way I tried to do this was with a macro:
    Please Login or Register  to view this content.
    Although each week I need to change the value in Range("b9:c9").Select to the next range.
    I have the range for each weekly update found in sheet1!M2.
    How can I change the maco to recognize the text in sheet1!m2 to be part of the macro code for the Range?

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: on cell change enter just the value

    How about following up on the help that has been offered for your previous post?

    This post looks like a worksheet formula to me. Try explaining fully what you are dong
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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