+ Reply to Thread
Results 1 to 4 of 4

How to find where formula is populated from

  1. #1
    Registered User
    Join Date
    08-17-2011
    Location
    Findlay,Ohio
    MS-Off Ver
    Excel 2007
    Posts
    4

    How to find where formula is populated from

    I have a spreadsheet that runs a query and returns data from a SQL database in columns A through F.
    In Column G an Excel formula is populated which refers to columns A through F to give you a value.

    How do I find where that formula is coming from? I need to make a change to it so that next time the sheet is refreshed it pulls in the changed formula?

    When the sheet is blank and you click into the cells in column G there are no formulas. So it seems to only populate when the data is refreshed.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: How to find where formula is populated from

    Try right clicking the tab name and choose "view code". It may be a worksheet change event macro.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    08-17-2011
    Location
    Findlay,Ohio
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to find where formula is populated from

    This is all I see.

    Private Sub CommandButton1_Click()
    Call Enter_PO_data
    End Sub

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: How to find where formula is populated from

    On the righthand side of the VBA window is the Project Pane. There should be several modules there. You will have to check each one for the procedure Enter_PO_data. It's hard to tell without a sample workbook, though.

+ 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