+ Reply to Thread
Results 1 to 2 of 2

Create an addin that will run once a day

Hybrid View

  1. #1
    Registered User
    Join Date
    10-11-2012
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    8

    Create an addin that will run once a day

    Hello,

    I have a simple addin that runs when a user opens excel, it will basically pull off information from another excel workbook and create a message box.
    What i want however is for this to open only the first time the user opens excel in the morning, not every time during the day.


    I was going to do something like

    if not cell(blah blah) = date then
    message box
    cell(blah blah) = date
    End if

    But i need this to be separate for different users, if I put this so the cell it is matching to is in the workbook its extracting data from it will only run once a day for the first person and not at all for other users.

    Is it possible to reference the addin file so i can store information there so it will be separate for each user?


    thanks in advance for any suggestions
    Last edited by Leith Ross; 07-03-2013 at 06:59 PM. Reason: Added Code Tags

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

    Re: Create an addin that will run once a day

    You could combine the above with the Environ("Username") which returns the windows login ID of the current user... All you need then is a method of recognising whether or not the message has been displayed to that user or not and there are a few ways of tackling that..
    Elegant Simplicity............. Not Always

+ 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