Question

i want to know who opened my excel file?

Asked by: thabash

Dear expert

I have an important un-secured excel sheet on my desktop in the office, some body over the network copied the file to his desktop and other users opened and viewed the file, the security is not an issue as the file created to be seen by others, my important question is
How I can check who are the users or ip than has copied or opened this file, is there any log any where can tell me this information. I really hardly want to know how to do this practice, please note that the event manager is cleaned.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2007-02-04 at 13:29:28ID22149015
Tags

my

,

opened

Topic

Microsoft Excel Spreadsheet Software

Participating Experts
5
Points
500
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Link external sheets in Excel
    We have data that sits on a Digital VMS Alpha system that we are exporting to Excel. We have created the FTP process and it works fine. The end user kicks off a VB App which, when complete, populates a sheet called Master in the Excel workbook located on his PC. The workbook ...
  2. excel sheet security
    Is there a way to know who on the network is accessing an excel sheet and how often?
  3. File properties visible on the excel sheet and/or in the hea…
    Dear Experts, I need to see automatically (with help of a formula or or...) certain file properties on the sheet. In MS Word this is no problem with the help of insert field but in Excel I only can choose e.g. path, page, date, from the footer/header menue but I need also Rev...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: sirbountyPosted on 2007-02-04 at 13:41:41ID: 18464479

http://support.microsoft.com/kb/310399 details how to enable file auditing.
Once it's turned on, right-click your file, choose properties, from the security tab, click advanced and enable auditing for 'everyone' for that specific file.  Then you will have that information in the security logs of event viewer.
There's no way to determine who accessed the file before this is enabled, however...

 

by: thabashPosted on 2007-02-04 at 13:50:35ID: 18464516

Dear sirbounty

Thanks for your fast answer, this is the actual issue that I wanna see who accessed or copied the file before I enable auditing

Let us see users comments maybe some body can come up with a play arround solution

 

by: shawngilbertPosted on 2007-02-04 at 14:30:34ID: 18464673

I am just echoing the sentiment already expressed, in that if auditing was not enabled, you will not be able to retrieve that information, as there is no mechanism in place by default, it must be explicitly enabled to provide that sort of tracking.

You can use the command line tools, netstat to view the incoming sessions, if someone is actively accessing your file, but even that is dynamically updated and no history is retained.

 

by: byundtPosted on 2007-02-04 at 14:46:36ID: 18464714

Hi thabash,
The name of the last person to access an Excel workbook is hidden in plain text in the raw file. The name appears in the first few lines of the files. Even if you don't save the file, this piece of information is still updated. It can be viewed using a text editor like Notepad.exe

Hoping to be helpful,

Brad

 

by: thabashPosted on 2007-02-04 at 22:11:15ID: 18466004

Dear Brad

where i can find that raw file in which path

 

by: zorvekPosted on 2007-02-04 at 23:01:32ID: 18466153

Brad is talking about the workbook file itself. The user name of the person who last opened the workbook is placed in the first few hundred bytes of the workbook file. To see it you have to open the workbook file with a program like Notepad.

Kevin

 

by: thabashPosted on 2007-02-04 at 23:14:44ID: 18466192

Dear Zorvel

i opened the workbook in the notepad, see down ( where exactly i can find the name)



ذدà،±ل                >  ‏ے                                ‏ےےے    ‏ےےے       ےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےےے         ©حةہ    ل  °ء    â   \ p   IT                                                                                                           B  °a   ہ  =    œ               ¯   ¼   =  x i [,¦8      X@    چ    "       ·   ع    1  ب   ےگ     ضA r i a l 1  ب   ےگ     ضA r i a l 1  ب   ےگ     ضA r i a l 1  ب   ےگ     ضA r i a l 1  ب  ے¼    ضA r i a l 1      ےگ     ضA r i a l 1  ً  ے¼    ضA r i a l 1  ب          گ    ضA r i a l 1  ب   ےگ    ضA r i a l     "$"#,##0_);\("$"#,##0\)!    "$"#,##0_);[Red]\("$"#,##0\)"    "$"#,##0.00_);\("$"#,##0.00\)'  "  "$"#,##0.00_);[Red]\("$"#,##0.00\)7 * 2  _("$"* #,##0_);_("$"* \(#,##0\);_("$"* "-"_);_(@_). ) )  _(* #,##0_);_(* \(#,##0\);_(* "-"_);_(@_)? , :  _("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)6 + 1  _(* #,##0.00_);_(* \(#,##0.00\);_(* "-"??_);_(@_)à      ُے            ہ à     ُے   ô        ہ à     ُے   ô        ہ à     ُے   ô        ہ à     ُے   ô        ہ à      ُے   ô        ہ à      ُے   ô        ہ à      ُے   ô        ہ à      ُے   ô        ہ à      ُے   ô        ہ à      ُے   ô        ہ à      ُے   ô        ہ à      ُے   ô        ہ à      ُے   ô        ہ à      ُے   ô        ہ à                   ہ à   + ُے   ّ        ہ à   ) ُے   ّ        ہ à   , ُے   ّ        ہ à   * ُے   ّ        ہ à          ُے   ّ        ہ à           ""@ @   ہ à         (""@ @   ہ à      "  8""@ @   ہ à       #  0""@ @   ہ à             #  0""@ @   ہ à      #  8""@ @   ہ à                 ہ à               (""@ @   ہ à            #  8""@ @   ہ à        8""@ @   ہ à      "          ہ à      "  8        ہ à        8@ @   ہ à        8   @   ہ à        8 @     ہ à        8        ہ “ €ے“ €ے“ €ے“ €ے“  € ے“ €ے`   …  k     Sheet1…  î     Sheet2…  ُ     Sheet3Œ    ء ء  "¾ ü ‍        Invoice Number  Amount  UEC  0320  Total
  Awari Account  Paid  0145  
  Pending Awari  Pending to Pay Awari Account  all paid up to hereے   ¢      ï  Y   c c                
            ©حةہ              -   A   N  d  
    d          ü©ٌزMbP?_   *    +    ‚   €          %   ے پ  ء      ƒ    „    M   H P   L a s e r J e t   4                                        ـ 4Cï€        ڑ 4d   X  X  A 4                                                                                           ےےےے                DINU"   4  :،ـœ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ، "        d     XX      à?      à? U   }     m   }   ¶         }   I         }   ¶   }
 
 ’         -            ے     @     ¤    @     ï    @                                                                             
                             
                                                                                                                                                                                                               ‎
         ¾        ‎
   
 !
      " ¾              ¾
 
 # $ ‎
         ‎
       ‎
             ‎
       ‎
 
      ‎
      ½       `¬@  €†@                €†@  * ے D ہ½  
   î¯@  à¥@  ½       2­@   y@                 y@  ے   ¼  )  ! L  ‏ہ½  
   <°@   ”@  &#8206;
        ½      &#1729;b@                &#1729;b@  &#1746;   ½  
   >°@   &#1688;@  ½       <­@  `s@                `s@  &#1746;   ½  
   Q°@   &#1688;@  ½       8­@  &#1711;•@                &#1711;•@  &#1746;   ½  
    œ@  &#1588;§@  &#8206;
        ½      @o@                @o@  &#1746;   ¾
 
   ½             8®@  à¥@                      à¥@  &#1746;   ¾
        
   ½ 
     :®@  @¯@       
        @¯@        &#1746;   ¾
 
 
   ½      >®@  &#1711;@               &#1711;@
 &#1746;   ¾
   
   ½      v®@  ˆ&#1705;@               ˆ&#1705;@ &#1746;   ¾
   
   ½ 
     –±@   @       
         @ &#1746;   ¾
 
 
   ½       &#1548;±@  pœ@                pœ@
 &#1746;   &#8206;
 
      #        &#1569;&#1569;@  &#1611; &#1617;&#8206;
 %
  &#1729; &#1729;ˆ ½       §±@  8ˆ@                8ˆ@  &#1746;   ½       &#1726;±@  ¼–@                ¼–@  &#1746;   ½       ¬±@   &#1688;@                 &#1688;@  &#1746;   ½       ­±@   n@                 n@  &#1746;   ½       &#1711;t@  €†@                €†@  &#1746;   ½       ·±@   ~@                 ~@  &#1746;   ½        a@   Œ@                 Œ@  &#1746;   ½       &#8207;¯@  …@                …@  &#1746;   ½       &#1606;¯@  •@                •@  &#1746;   ½       è¯@  @o@                @o@  &#1746;   ½       &#1609;¯@  @¯@                @¯@  &#1746;   &#8206;
      ½       î¯@  à¥@  à¥@      &#8206;
        ½       r@                 r@  &#1746;   ½       &#1574;±@  °&#1670;@                °&#1670;@  &#1746;   ½       <°@   ”@   ”@      ½       >°@   &#1688;@   &#1688;@      ½       Q°@   &#1688;@   &#1688;@      × D ¥
  l6   T Q d Y Q Q Q I I I I I p ; ; ; ; ; ; ; ; ; ; I " C ; " "              !           "           #           $           %           &           '           (           )           *           +           ,          ½         œ@  &#1588;§@  &#1588;§@      ½  !                     !             &#1746;   ½  "                     "            ! &#1746;   ½  #                     #            " &#1746;   ½  $                     $            # &#1746;   ½  %                     %            $ &#1746;   ½  &                     &            % &#1746;   ½  '                     '            & &#1746;   &#8206;
 (       ½  (               (            ' &#1746;   ½  )                     )            ( &#8207;   &#8206;
 *        # *       &#1729;&#1601;â@  * &#1746;
 % ) &#1729;&#1729;  # *        &#1569;&#1569;@  * &#1746;
 % ) &#1729;&#1729;  # *        &#1594;&#1600;@   &#1746;
 % ) &#1729;&#1729;  ,   ×  &#1582;  &#1611; " ; ; ; ; ; ; ; C ; ƒ   > ¶         @                    &#1607;           
   ï   7   g g           &#1746;&#1746;&#1746;&#1746;&#1746;  
            ©&#1581;&#1577;&#1729;                  ¦ 
    d          ü©&#1612;&#1586;MbP?_   *    +    ‚   €          %   &#1746; &#1662;  &#1569;      ƒ    „    &#1548; "   &#1746;      &#1746;      à?      à?&#1729;U                   > ¶     @                          ï   7  
            ©&#1581;&#1577;&#1729;                  ­ 
    d          ü©&#1612;&#1586;MbP?_   *    +    ‚   €          %   &#1746; &#1662;  &#1569;      ƒ    „    &#1548; "   &#1746;               à?      à?&#1729;U                   > ¶     @                          ï   7  
       &#8207;&#1746;                      à…&#1722;&#1613;ùOh«‘ +'³&#1592;0   ¬         H      P      \      h     €     Œ  
   &#1705;      ¤      è        IT        IT        Microsoft Excel @   €‚&#1585;pt<&#1575;@   €&#1729;&#1610;*&#1746;&#1575;@   €¨¥î†H&#1575;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           &#8207;&#1746;                      &#1589;&#1581;&#1589;œ.“— +,ù®0   è               P      X      t     |      „      Œ      ”  
   œ     &#1573;      è        Electric House Est.    «                                 Sheet1    Sheet2    Sheet3           Worksheets                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
           
      &#8207;&#1746;&#1746;&#1746;                     &#8207;&#1746;&#1746;&#1746;                     &#8207;&#1746;&#1746;&#1746;&#8206;&#1746;&#1746;&#1746;&#8207;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;R o o t   E n t r y                                              &#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;         &#1729;      F             &#1591;^ù&#1610;H&#1575;&#8207;&#1746;&#1746;&#1746;        W o r k b o o k                                                  &#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;                                        ü       S u m m a r y I n f o r m a t i o n                           (       &#1746;&#1746;&#1746;&#1746;                                               D o c u m e n t S u m m a r y I n f o r m a t i o n           8 &#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;                                              

 

by: zorvekPosted on 2007-02-04 at 23:30:40ID: 18466229

Is your name, as specified in Excel, "IT"?

Kevin

 

by: thabashPosted on 2007-02-04 at 23:34:06ID: 18466238

no Kevin

my username which i use to login ti the pc is thabash, and i just opened the file before i use the notepad to be sure that this file should show my usernamem whats wrong!

 

by: zorvekPosted on 2007-02-04 at 23:44:35ID: 18466269

By "user name" I mean the value in the "User name" text entry field in the Options dialog found by choosing Tools->Options and navigating to the General tab.

I'll bet you my dog bone that you have "IT" in that field...and that is the user name that is written to the workbook when it is opened.

Kevin

 

by: WJReidPosted on 2007-02-04 at 23:45:56ID: 18466271

Hi thabash,

Could you not have a separate file (I have called it WhoLooked), which will automatically open, put the UserName and date into it whenever the main file is opened and then close again. Screen Updating is set to false so the User willl not see it opening and closing. It will keep a record of the Date and UserNames in column IV of sheet1 that you can view anytime.

This code, put in the Workbook_Open event of the main file, should give you that info.

Private Sub Workbook_Open()
    Dim cUser As String
    cUser = Environ("UserName")
    Sheet1.Range("IV1").Value = cUser
    Application.ScreenUpdating = False
   
    Workbooks.Open Filename:= _
        "C:\Documents and Settings\Registered User\Desktop\WhoLooked.xls"
        ActiveWorkbook.Sheets("Sheet1").Range("IV65536").End(xlUp).Offset(1, 0).Value = cUser
        ActiveWorkbook.Sheets("Sheet1").Range("IU65536").End(xlUp).Offset(1, 0).Value = Date
    Application.ScreenUpdating = True
    ActiveWorkbook.Close savechanges:=True
End Sub


Bill

 

by: zorvekPosted on 2007-02-05 at 00:26:36ID: 18466388

Here is some VB code that reads the last accessed user name from a workbook file:

Public Sub Test()

   Dim FilePath As String
   
   FilePath = Application.GetOpenFilename()
   If FilePath = "False" Then Exit Sub
   MsgBox GetLastAccessUserName(FilePath)

End Sub

Public Function GetLastAccessUserName( _
      ByVal WorkbookPath As String _
   ) As String
   
   Dim FileNumber As Long
   Dim FileData As String
   Dim Position As Long

   FileNumber = FreeFile
   Open WorkbookPath For Binary Access Read As FileNumber
   FileData = StrConv(InputB(10000, FileNumber), vbUnicode)
   Close FileNumber

   Position = InStr(FileData, Chr(193) & Chr(0) & Chr(2) & Chr(0) & Chr(0) & Chr(0) & Chr(226) & Chr(0) & Chr(0) & Chr(0) & "\" & Chr(0) & "p")
   If Position > 0 Then GetLastAccessUserName = Mid(FileData, Position + 17, Asc(Mid(FileData, Position + 14, 1)))

End Function

If you run it on a file you have opened you will get "IT" as that is what is currently set in Excel's user name property in the Options dialog box.

Kevin

 

by: byundtPosted on 2007-02-05 at 01:48:24ID: 18466653

Here are the first few lines (using Notepad.exe) of two Excel files. The first one was last accessed by me (Brad Yundt). The second one was last accessed by J. Rosink.

ÐÏࡱá                >  þÿ                                     þÿÿÿ        ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿýÿÿÿ                              
         
                     '                           ,             !   "   #   $   %   &   (   þÿÿÿ)   *   +   -   0   .   /   þÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿR o o t   E n t r y                                               ÿÿÿÿÿÿÿÿ         À      F    "Õí.5Ç ßÜû:5Ç    N      W o r k b o o k                                                     ÿÿÿÿÿÿÿÿ                                        P      _ V B A _ P R O J E C T _ C U R                                 "                              @ Âû:5Ç ßÜû:5Ç            V B A                                                             ÿÿÿÿÿÿÿÿ                       @ Âû:5Ç ý×û:5Ç                                            
           
                                                             !   "   #   $   %   &   '   (   )   *   +   ,   -   .   /   0   1   2   3   4   5   6   7   8   9   :   ;   <   =   þÿÿÿ?   @   A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   [   \   ]   ^   _   `   a   b   c   d   þÿÿÿf   g   h   i   j   k   l   m   n   o   þÿÿÿq   þÿÿÿs   t   u   v   w   x   y   z   {   |   }   ~      €            ©ÍÉÀ    á  °Á    â   \ p
  Brad Yundt                                                                                                   B  °a   À  =    Ó   º  ThisWorkbookœ               ¯   ¼   =  Ð,k:þ8      X@        "       ·   Ú    1  È   ÿ     ¸A r i a l 1  È   ÿ     ¸A r i a l 1  È   ÿ     ¸A r i a l 1  È   ÿ     ¸A r i a l 1      ÿ     ¸A r i a l     "$"#,##0_);\("$"#,##0\)!    "$"#,##0_);[Red]\("$"#,##0\)"    "$"#,##0.00_);\("$"#,##0.00\)'  "  "$"#,##0.00_);[Red]\("$"#,##0.00\)7 * 2  _("$"* #,##0_);_("$"* \(#,##0\);_("$"* "-"_);_(@_). ) )  _(* #,##0_);_(* \(#,##0\);_(* "-"_);_(@_)? , :  _("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)6 + 1  _(* #,##0.00_);_(* \(#,##0.00\);_(* "-"??_);_(@_)à      õÿ            À à     õÿ   ô        À à     õÿ   ô        À à     õÿ   ô        À à     õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à   



ÐÏࡱá                >  þÿ                     9          þÿÿÿ    þÿÿÿ    8   ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ         µÍÉÀ    á  °Á    â   \ p         J. Rosink                                                                                                    B  °a   À  =   œ               ¯   ¼   =  ài [,ÿ8      X@        "       ·   Ú    1  È   ÿ     ˜A r i a l 1  È   ÿ     ˜A r i a l 1  È   ÿ     ˜A r i a l 1  È   ÿ     ˜A r i a l 1      ÿ     ˜A r i a l 1  È  ÿ¼    ˜A r i a l 1  È   ÿ     ˜A r i a l 1  È   ÿ     ˜A r i a l     "$"#,##0_);\("$"#,##0\)!    "$"#,##0_);[Red]\("$"#,##0\)"    "$"#,##0.00_);\("$"#,##0.00\)'  "  "$"#,##0.00_);[Red]\("$"#,##0.00\)7 * 2  _("$"* #,##0_);_("$"* \(#,##0\);_("$"* "-"_);_(@_). ) )  _(* #,##0_);_(* \(#,##0\);_(* "-"_);_(@_)? , :  _("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)6 + 1  _(* #,##0.00_);_(* \(#,##0.00\);_(* "-"??_);_(@_) ¤   0.0à      õÿ            À à     õÿ   ô        À à     õÿ   ô        À à     õÿ   ô        À à     õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à      õÿ   ô        À à                   À à   + õÿ   ø        À à   ) õÿ   ø        À à   , õÿ   ø        À à   * õÿ   ø        À à          õÿ   ø        À à                 À à          @       
 à          @        À à         H        À “ €ÿ“ €ÿ“ €ÿ“ €ÿ“  € ÿ“ €ÿ`   …  È     Testmaat-Determinant…  —>    Chart2Œ    ®             ÿÿÿÿÁ Á  "¾ ü !         Testmaat   determinantÿ
  „      c c                 &
            µÍÉÀ              9   î!  H6  &>  
    d          ü©ñÒMbP?_   *    +    ‚   €          %   ÿ   Á      ƒ    „    M b  H P   P h o t o s m a r t   3 1 0 0   s e r i e s                Ü „Cÿ€  ê
od   X  X  L e t t e r                                                                                  ÿÿÿÿ                DINU"   4Pf
ÿ                            V                                    !                                                                                                                                                                                                                                                                                                                                                              

 

by: thabashPosted on 2007-02-05 at 04:55:01ID: 18467375

Dear All experts

thsnks for your valued answer, you really helped me alot, but i will accep sirbounty answer as it will show history for lond period.
and i will split the points

sirbounty 125
shawngilbert 70
byundt 125
zorvek 125
WJReid 55

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...