+ Reply to Thread
Results 1 to 2 of 2

same cell multiplied by set value

  1. #1
    lynk787
    Guest

    same cell multiplied by set value

    A simple calculation of...the value entered multiplied by a number..
    eg. Cell A1, put in value .5, it then multiplies by 1000 and gives 500 in
    cell A1

    please advise

  2. #2
    JE McGimpsey
    Guest

    Re: same cell multiplied by set value

    One way:

    Put this in your worksheet code module (right-click the worksheet tab
    and choose View Code):

    Private Sub Worksheet_Change(ByVal Target As Excel.Range)
    If Target.Address(False, False) = "A1" Then
    Application.EnableEvents = False
    .Value = .Value * 1000#
    Application.EnableEvents = True
    End If
    End Sub

    In article <[email protected]>,
    "lynk787" <[email protected]> wrote:

    > A simple calculation of...the value entered multiplied by a number..
    > eg. Cell A1, put in value .5, it then multiplies by 1000 and gives 500 in
    > cell A1
    >
    > please advise


+ 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