Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   How to Automate a macro in excel (https://www.askmehelpdesk.com/showthread.php?t=7735)

  • Feb 11, 2005, 09:37 AM
    traka
    How to Automate a macro in excel
    A program logs files at random in txt.
    abc_log.txt (example)

    When new info. Is added to the txt file,manualy activate macro and it does what it suppose to do, all OK there.

    Is there a way a macro code or excel, or perhaps a BAT program can be made to simply "detect" when new data is added to the txt file and activate the macro automaticaly ?

    Thanks.
  • Feb 17, 2005, 11:39 AM
    ScottGem
    Not sure of the code, but you could read the date of the file and compare it to a date stored in the spreadsheet.

    If you need help with coding this, you might try www.utteraccess.com and post your question there.

    Sorry, the - shouldn't have been there
  • Feb 17, 2005, 03:03 PM
    traka
    Thanks
    The URL does not seem to work.
  • Jun 29, 2005, 01:21 AM
    traka
    Solved
    Solved.

    A "detection device" had to be made by small external Utility Program (U.P.)

    It activates a macro in excel without having to click on the activate key/button.

    Much coding went into this and now the rest of the project may proceed.
    The U.P. eliminates several mouse kliks.

    Moral
    Never give up.
  • Jul 4, 2005, 06:09 AM
    traka
    This issue has now been solved with software.
    It works OK
    Was very complex to define,but at the end of the day it got working.

  • All times are GMT -7. The time now is 08:19 PM.