+ Reply to Thread
Results 1 to 5 of 5

Sheet doesn't recalculate after picking from list including own function (EXAMPLE INCL.)

  1. #1
    Registered User
    Join Date
    08-10-2012
    Location
    Prague
    MS-Off Ver
    Excel 2007
    Posts
    3

    Sheet doesn't recalculate after picking from list including own function (EXAMPLE INCL.)

    Hello.

    In the attached workbook is small example cotaining user function (returning name of the cell) and after picking from the data validation list the formulas in the sheetshall display czech or english text in specified cells.

    The function in the cell work perfectly, but when I change a value in the language list (this value is input for the function), the cell doesn't return expected text and returns #VALUE. After manual clicking F2+Enter it works as expected. I would like to have it automattical.

    Tank you for your help.

    Karel
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Sheet doesn't recalculate after picking from list including own function (EXAMPLE INCL

    Hi,
    you don't need a UDF function or named ranges. Hlookup is sufficient
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  3. #3
    Registered User
    Join Date
    08-10-2012
    Location
    Prague
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Sheet doesn't recalculate after picking from list including own function (EXAMPLE INCL

    Hello, thank you.

    It works fine but I have more cells that are translated this way on one row so that is why I used the cell names.

    Sorry I haven't given example with more cells in one row.

    Is there any way to modify the code?
    Last edited by happik; 01-05-2023 at 09:59 AM. Reason: wrong answer

  4. #4
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Sheet doesn't recalculate after picking from list including own function (EXAMPLE INCL

    Hi,
    I don't understand what you mean by heaving more cells in one row.
    In the formula on post #2 you can change the interval according to the real situation.
    If you can attach a file with the situation you refer to, I can help you. The UDF function really doesn't make sense here

  5. #5
    Registered User
    Join Date
    08-10-2012
    Location
    Prague
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Sheet doesn't recalculate after picking from list including own function (EXAMPLE INCL

    Hello.

    I received answer in another forum that has solved this issue so I'm sharing it below:

    Instead of ActiveCell, use Application.ThisCell:
    - returns the cell in which the user-defined function is being called from as a Range object.

    Please Login or Register  to view this content.
    Thank you tanasedn for your support and approach.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 04-07-2021, 03:30 AM
  2. Match formula doesn't recalculate rows when sorted
    By DesertRose in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-04-2018, 08:40 PM
  3. [SOLVED] Find every cell in a sheet that isn't zero and make a list incl. other cells in row
    By Happytab in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-11-2017, 08:11 PM
  4. [SOLVED] retrieve value from list based on 2 criteria incl date
    By kammend in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-05-2016, 09:12 AM
  5. Replies: 9
    Last Post: 10-22-2013, 04:20 PM
  6. Userform updates cells in spreadsheet but doesn't recalculate other cell
    By david1987 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2012, 11:34 AM
  7. Replies: 3
    Last Post: 08-22-2012, 07:33 PM

Tags for this Thread

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