+ Reply to Thread
Results 1 to 8 of 8

use formula in pop-up window

  1. #1
    Registered User
    Join Date
    07-09-2011
    Location
    KL Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    10

    use formula in pop-up window

    Is it possible to use a formula in a pop-up window to make the message variable ?
    Attached Files Attached Files
    Last edited by AliGW; 07-06-2021 at 12:50 AM.

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

    Re: use formula in pop-up window

    You just killed me with that huge formula! I've never seen a formula like this! Is a monstrosity.
    Have you consider using VBA?
    Is not possible in Excel to assign a cell value to an object without VBA code. But, maybe I'm wrong!
    Here is an example to spell numbers with VBA function. It can be used to became a comment content for current cell as event in your worksheet
    https://support.microsoft.com/en-us/...8-69442cd55d98
    Last edited by tanasedn; 07-01-2021 at 06:42 AM.
    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
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: use formula in pop-up window

    I worked on the solution with VBA
    The code for worksheet 2, as selectionChange event, is working for the B2:G4 range.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2502 (Windows 11 Home 24H2 64-bit)
    Posts
    89,559

    Re: use formula in pop-up window

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,042

    Re: use formula in pop-up window

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    07-09-2011
    Location
    KL Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    10

    Re: use formula in pop-up window

    Hello tanasedn: your solution is just what the doctor ordered and works fine thank you.
    The reason why I used the formula is because I am not really good with VBA and that formula was the only one I could find without using VBA.
    Now all I have to figure out how to make the window showing the text bigger so the whole text is visible (and a few other things :-)

  7. #7
    Registered User
    Join Date
    07-09-2011
    Location
    KL Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    10

    Re: use formula in pop-up window

    Good Day FDibbins
    I just spend 30 minutes trying to put the cross link to mrexcel in here but I fail.
    I cannot find any FAQ on how to do this so I give up

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,042

    Re: use formula in pop-up window

    Quote Originally Posted by gwminkl View Post
    Good Day FDibbins
    I just spend 30 minutes trying to put the cross link to mrexcel in here but I fail.
    I cannot find any FAQ on how to do this so I give up
    You have enough posts now that you should be able to just copy/paste the URL like here

+ 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: 2
    Last Post: 01-22-2018, 11:40 AM
  2. [SOLVED] Change VBA code for a specific window to any active window
    By dawondr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2016, 04:00 PM
  3. Switch from Active Window to Variable Window/Rename Varaible Sheet
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-04-2016, 09:52 AM
  4. [SOLVED] Copy Tables from IE window to Excel - Need help making code see already opened window
    By mattyp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-27-2015, 08:14 AM
  5. [SOLVED] How to show both Project Explorer and Code window in the VB window?
    By m3atball in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2014, 07:22 PM
  6. Replies: 2
    Last Post: 09-11-2013, 04:35 AM
  7. Replies: 4
    Last Post: 02-17-2011, 08:29 AM

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