+ Reply to Thread
Results 1 to 3 of 3

how do I show results in the same cell I entered my value?

  1. #1
    Registered User
    Join Date
    05-06-2005
    Posts
    1

    how do I show results in the same cell I entered my value?

    Ok, heres my problem: I can enter a value into a cell, and write a formula to take a percentage of that value (ie: =(A1*60%) where A1=100, the new value will be 60). I want to display the new value of A1 directly into A1. So that every time I enter a new value, it automaticaly takes the percentage of that value and shows it in the box where i originaly entered the value. I hope that makes sense... its driving me nuts.

    Please email me with answers @ [email protected]

  2. #2
    Forum Contributor
    Join Date
    05-04-2005
    Posts
    136
    If anyone comes up with any answers, can you please post them because I cant think of any way to do that - any value you put in will overright the formula!

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819
    The only way I can think of doing this is using a VBA Sub procedure that is associated with an onchange, onentry, or similar event.

    Sub mytest()
    temp=activecell.value
    temp2=0.6*temp
    activecell.value=temp2
    end sub

    It's crude and untested, but see if that gets you started.

+ 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