+ Reply to Thread
Results 1 to 14 of 14

Screen saver for excel

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Screen saver for excel

    Hello everybody
    I have a userform .. I want the userform to appear automatically after a period of time after last edit.
    Say I entered a value in C5 and pressed Enter key . I want the userform to appear after 15 seconds if I didn't do anything else in the workbook.
    It may be called as a screen saver for excel

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Screen saver for excel

    Hey, that's a pretty cool idea. I made this on a specific worksheet. It could be targeted for specific cells if you'd like.


    Please Login or Register  to view this content.
    Last edited by daffodil11; 01-02-2015 at 07:54 PM. Reason: camel spiders
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,313

    Re: Screen saver for excel

    Edited code:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Screen saver for excel

    Hi,

    Put this code in sheet module :
    Please Login or Register  to view this content.
    Put this code in normal module :
    Please Login or Register  to view this content.
    Regards
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Screen saver for excel

    Thanks a lot everybody
    Mr. Karedog ..Can you make the code for userform and on the userform a textbox to type a password to let the user open the WB if he is authorized??

  6. #6
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Screen saver for excel

    Hi,

    Please look at my attached file, maybe this is what you expected.

    Regards
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Screen saver for excel

    Wonderful Mr. karedog
    Your attachment is a masterpiece
    Thank you very much

  8. #8
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Screen saver for excel

    You are welcome, thanks a lot.

    Regards

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,313

    Re: Screen saver for excel

    The downside being that this routine will block access to any and all workbooks in the same instance of Excel.

    As soon as you enter data into the worksheet, the routine will be active ... and will fire even if you are working in another workbook.

    Regards, TMS

  10. #10
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Screen saver for excel

    Quote Originally Posted by TMS View Post
    The downside being that this routine will block access to any and all workbooks in the same instance of Excel.

    As soon as you enter data into the worksheet, the routine will be active ... and will fire even if you are working in another workbook.

    Regards, TMS
    Actually that could be expected or unexpected behaviour, depending of the user's will.

    In case if the "screensaver" should be pop up only on the workbook it is stored, then a single line of code will fix it.

    Regards
    Attached Files Attached Files

  11. #11
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,313

    Re: Screen saver for excel

    It was not a criticism, just an observation based on the solution provided.

    Regards, TMS

  12. #12
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Screen saver for excel

    Quote Originally Posted by TMS View Post
    It was not a criticism, just an observation based on the solution provided.

    Regards, TMS
    Sure. I myself didn't take it as a criticism, but I provided another code in case the expected behaviour is as you stated (password userform should only pop ups for the launcher workbook, not for all the workbooks). In fact, this is a valuable input in case OP is not think about this.

    Regards

  13. #13
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Screen saver for excel

    These solutions are awesome.

  14. #14
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Screen saver for excel

    Many thanks for the compliment, I really appreciate it.

    Regards

+ 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. [SOLVED] Can i Use my spreadsheet Graph as a screen saver
    By lochdara in forum Excel General
    Replies: 1
    Last Post: 06-07-2012, 03:56 AM
  2. Excel 2007 : Excel shrinks after screen saver
    By careysb in forum Excel General
    Replies: 2
    Last Post: 05-31-2009, 08:59 PM
  3. Screen Saver Interupting Simulation
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2006, 01:25 PM
  4. Macro as Screen Saver
    By hmm in forum Excel General
    Replies: 0
    Last Post: 07-19-2006, 07:30 AM
  5. Macro to disable screen saver
    By snax500 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2005, 04:05 PM

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