+ Reply to Thread
Results 1 to 3 of 3

save workbook as current date using a macro

  1. #1
    ExcelJon
    Guest

    save workbook as current date using a macro

    Hi,
    I have a Workbook who logs a production line with data collected over a OPC
    connection.
    This workbooks logs equipment stops as well as weight controls.
    The workbook is saved every time a new event is registered.

    At midnight, i want to autosave the workbook so it's name is the current date.

    Anyone that can help me?

  2. #2
    galimi
    Guest

    RE: save workbook as current date using a macro

    You can use the OnTime method to see if the time has passed midnight and
    perform an autosave when the condition is met.
    --
    http://HelpExcel.com
    1-888-INGENIO
    1-888-464-3646
    x0197758


    "ExcelJon" wrote:

    > Hi,
    > I have a Workbook who logs a production line with data collected over a OPC
    > connection.
    > This workbooks logs equipment stops as well as weight controls.
    > The workbook is saved every time a new event is registered.
    >
    > At midnight, i want to autosave the workbook so it's name is the current date.
    >
    > Anyone that can help me?


  3. #3
    Dave Peterson
    Guest

    Re: save workbook as current date using a macro

    Chip Pearson has lots of instructions at:
    http://www.cpearson.com/excel/ontime.htm

    ExcelJon wrote:
    >
    > Hi,
    > I have a Workbook who logs a production line with data collected over a OPC
    > connection.
    > This workbooks logs equipment stops as well as weight controls.
    > The workbook is saved every time a new event is registered.
    >
    > At midnight, i want to autosave the workbook so it's name is the current date.
    >
    > Anyone that can help me?


    --

    Dave Peterson

+ 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