+ Reply to Thread
Results 1 to 7 of 7

need a popup mesage to open automatically when certian sheet is clicked

  1. #1
    Registered User
    Join Date
    04-30-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    2

    need a popup mesage to open automatically when certian sheet is clicked

    I need a pop up to automatically open when a user clicks on a certain sheet on my shared workbook. I would like this to be automatic as there is little to no information manually entered the the sheet.


    I've tired this but it only works when the workbook is opened not the certain sheet I need it on. I don't know how to change...

    Please Login or Register  to view this content.
    Last edited by arlu1201; 05-01-2013 at 01:31 AM. Reason: Use code tags in future.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: need a popup mesage to open automatically when certian sheet is clicked

    put this in the code module of the worksheet

    Please Login or Register  to view this content.
    Elegant Simplicity............. Not Always

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: need a popup mesage to open automatically when certian sheet is clicked

    Hi, Andy,

    I just wonder what the return value for an OKOnly-Msg may be used for (I know, TO has put in the code - but shouldnīt that be pointed out?).

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: need a popup mesage to open automatically when certian sheet is clicked

    Morning Holger

    I would agree but i tend to find it's easy to get bogged down in detail.... So my approach is to develop a crude working model and then refine it down however a lot of people "abandon ship" once it's working satisfactorily..... If the OP wants to take it further that's fine but if not, it saves me uneccessary time and effort ...

    I think i slipped into that methodology because I used to train Technicians on the job and i generally found they just wanted to know how to solve their specific problems without going into the finer detail..

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: need a popup mesage to open automatically when certian sheet is clicked

    Hi, Andy,

    looking at what happens when I take whatever action I really canīt fully agree on that.

    Click on the closing X when you run
    Please Login or Register  to view this content.
    There is no choice so the title is obsolete, and furthermore the date time stamp is put in the immediate window. But I wanted the modal window to close and not run the further code. So the code maybe should be altered to
    Please Login or Register  to view this content.
    This comes to my mind when I see a variable being used which doesnīt much sense but blows up the code while it isnīt used in the further code.

    Ciao,
    Holger

  6. #6
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: need a popup mesage to open automatically when certian sheet is clicked

    That makes sense ....... I just built on the code provided though cos I'm lazy like that .....

  7. #7
    Registered User
    Join Date
    04-30-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: need a popup mesage to open automatically when certian sheet is clicked

    Andy, That worked, thanks!

+ 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