+ Reply to Thread
Results 1 to 3 of 3

Auto Save on a cell value

  1. #1
    Registered User
    Join Date
    07-13-2011
    Location
    hull.england
    MS-Off Ver
    Excel 2003
    Posts
    12

    Auto Save on a cell value

    Hi All,

    I have an excel file that I would like to be able to save to c:\live when the value in cell b10 is 1. i would like this file to be saved as date and time if this is possible.

    Thanks In Advance

    Gav

  2. #2
    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
    44,377

    Re: Auto Save on a cell value

    Do you manually change cell B10 or is it the result of a formula? If it's a manual change, you could use a VBA Worksheet Change event to monitor the cell and cause the file to be saved. Using the date and time as part of the file name is not a problem, although you can't use "/" or ":".

    If it's the result of a formula, you might have to monitor the cells that feed into cell B10 or use the Calculate event and check it there. Not sure of the impact on performance.


    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


  3. #3
    Registered User
    Join Date
    07-13-2011
    Location
    hull.england
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Auto Save on a cell value

    I suppose it is a manual input. Could you give me an example of VBA Worksheet Change event to monitor the cell and cause the file to be saved Please.

    Thanks

    Gav

+ 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