Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Sending values?

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    142
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Is there a way to SEND a value from one cell to another, overriding anything that may have been entered into that cell?

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Sunny, spring-like Hull
    Posts
    3,339
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Not to sure what you mean, but entering =A1 into cell B1 will show always show the value in A1 (or a zero if A1 is empty).

    [ This Message was edited by: Mudface on 2002-03-14 12:08 ]

  3. #3
    BatCoder
    Join Date
    Feb 2002
    Location
    Turkey
    Posts
    816
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default

    Open VBA editor then double click on the Sheet that you want to apply transferring cell values. And select the Worksheet on module and Change event then write this code there.

    Private Sub Worksheet_Change(ByVal Target As Excel.Range)
    If Target.Address = "$A$1" Then Range("A2").Value = Target.Value
    End Sub

    to change A2 cell value to A1 value when A1 changed.

    regards
    suat

    [ This Message was edited by: smozgur on 2002-03-14 12:12 ]

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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