Consulting

Results 1 to 2 of 2

Thread: copy cell value from one sheet to another sheet

  1. #1
    VBAX Contributor
    Joined
    Jun 2019
    Posts
    155
    Location

    copy cell value from one sheet to another sheet

    Hi

    I am writing formula for cell value one sheet to another sheet.

    For example i want value is copy from sheet1 C5 to Sheet2 D6. For that i am writing =Sheet1!C5 on Sheet2 cell D6. The value is updating ot the tile of writing this formula. But after that when ever i am changing the value on Sheet1 C5 it is not updating Sheet2 D6 automatically. i want to update it manually or while opening the wrokbook it is updating.

    Can any one please help me how to update this automatically when ever i am changing the value on Sheet1 C5.

  2. #2
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    At some time... somewhere in some Workbook... Application.Calculation = xlCalculationManual. That will stop all formula cell references working.

    In the Thisworkbook Code Page
    Option Explicit
    
    Private Sub ResetApplication()
        Application.Calculation = xlCalculationAutomatic
    End Sub
    run the ResetApplication Sub manually, then find where Calculation was set to xlCalculationManual and fix that code.
    Last edited by SamT; 09-28-2019 at 04:59 PM.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

Posting Permissions

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