+ Reply to Thread
Results 1 to 5 of 5

Formula does not calculate when data is imported to a sheet (through a macros)

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    Bratislava
    MS-Off Ver
    Excel 2003
    Posts
    4

    Formula does not calculate when data is imported to a sheet (through a macros)

    Hello guys

    I have a sheet (let's call it "customer") with an 'Import' button on it which I use to import a CSV file and load the data from that file in the sheet.

    In cell A1, a customer's name is filled in when importing this file.

    In another sheet (let's call it "calculator"), I have certain formulas. These formulas use the 'Fuzzy Matching' function (this function is in a VBA module)

    http://www.mrexcel.com/forum/excel-q...planation.html

    The problem:

    When I import the CSV data and the macros fills the the cell A1 with the customer name, the formula in the "calculator" sheet (which needs input from A1) does not work. And it seems it does not work because it does not recognize that there's information present in A1.

    If however, I put manually any given customer name in A1 the formulas in the 'calculation' sheet do work.

    Can you please advice on what could be wrong here?

    Thanks!
    Last edited by dsanchez; 01-10-2013 at 06:51 AM. Reason: clarification

  2. #2
    Forum Contributor
    Join Date
    06-16-2011
    Location
    London
    MS-Off Ver
    Excel XP
    Posts
    276

    Re: Formula does not calculate when data is imported to a sheet (through a macros)

    At the the very end of the macro that does the importing, put the following command:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-13-2012
    Location
    Bratislava
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula does not calculate when data is imported to a sheet (through a macros)

    thanks a lot for the quick answer!

    i tried this but the problem persists. is there any other workaround?

    thanks!

  4. #4
    Registered User
    Join Date
    12-13-2012
    Location
    Bratislava
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula does not calculate when data is imported to a sheet (through a macros)

    anyone else?

  5. #5
    Registered User
    Join Date
    12-13-2012
    Location
    Bratislava
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula does not calculate when data is imported to a sheet (through a macros)

    bump. anyone?

+ 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