+ Reply to Thread
Results 1 to 7 of 7

Alert when opening a workbook

  1. #1
    Forum Contributor
    Join Date
    05-09-2012
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    136

    Alert when opening a workbook

    Hi All - how can I get an alert to pop up when an excel file is opened that says "Please only input information into shaded cells"

    Any help would be greatly appreciated!

    Thank you

  2. #2
    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: Alert when opening a workbook

    Hi, mrr2,

    into ThisWorkbook:
    Please Login or Register  to view this content.
    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

  3. #3
    Forum Contributor
    Join Date
    05-09-2012
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    136

    Re: Alert when opening a workbook

    Thanks Holger - is this right? I added it to my existing recorded macro, and it does not pop up when i open the workbook and enable macros?

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    05-09-2012
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    136

    Re: Alert when opening a workbook

    Thanks Holger - is this right? I added it to my existing recorded macro, and it does not pop up when i open the workbook and enable macros?

    Please Login or Register  to view this content.

  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: Alert when opening a workbook

    Hi, mrr2,

    is the code located in ThisWorkbook? In any other module the event will not get fired.

    Ciao,
    Holger

  6. #6
    Forum Contributor
    Join Date
    05-09-2012
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    136

    Re: Alert when opening a workbook

    Hi Holger - I added it on top of the exisisting code in the workbook - is that correct?

  7. #7
    Forum Contributor
    Join Date
    05-09-2012
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    136

    Re: Alert when opening a workbook

    Holger I'm good - thanks a lot for your help!

+ 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