+ Reply to Thread
Results 1 to 3 of 3

Recording changes in the file

  1. #1
    Registered User
    Join Date
    11-28-2007
    Posts
    1

    Recording changes in the file

    I have to record somewhere in a sheet when the file is saved which computer did it.
    Someone knows how to do it?

  2. #2
    Forum Contributor
    Join Date
    10-27-2006
    Location
    United Kingdom
    MS-Off Ver
    EXCEL 2003 (2007 at home)
    Posts
    517
    I can't think of a way to do this without using a bit of VBA code.

    However it should be possible by using the Environ() function in VBA

    Press Alt and F11 to open up the VBA editor
    type environ into the help search and look at the example supplied.

    One of the environ options is COMPUTERNAME

    Mark.

  3. #3
    Forum Contributor
    Join Date
    10-27-2006
    Location
    United Kingdom
    MS-Off Ver
    EXCEL 2003 (2007 at home)
    Posts
    517

    Not best programming style, but...

    To create a user defined function to return the computer name
    Record a very simple macro then edit the macro code to read as follows:
    Please Login or Register  to view this content.
    Finally type into the required cell =ComputerName()
    This should give you what you want.

    Mark.

+ 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