+ Reply to Thread
Results 1 to 3 of 3

times of opened

  1. #1
    Registered User
    Join Date
    05-03-2006
    Posts
    46

    times of opened

    how can i know howm many times the workbook had been opened?
    say in A1 shows how many times.

  2. #2
    Tom Ogilvy
    Guest

    Re: times of opened

    Private Sub Workbook_Open()
    With Worksheets("Sheet1")
    .Range("A1").Value = _
    .Range("A1").Value + 1
    End With
    ThisWorkbook.Save
    End Sub


    Placed in the thisworkbook module

    See Chip Pearson's page on events
    http://www.cpearson.com/excel/events.htm

    --
    Regards,
    Tom Ogilvy


    "jinvictor" <[email protected]> wrote
    in message news:[email protected]...
    >
    > how can i know howm many times the workbook had been opened?
    > say in A1 shows how many times.
    >
    >
    > --
    > jinvictor
    > ------------------------------------------------------------------------
    > jinvictor's Profile:

    http://www.excelforum.com/member.php...o&userid=34099
    > View this thread: http://www.excelforum.com/showthread...hreadid=553052
    >




  3. #3
    Greg Wilson
    Guest

    RE: times of opened

    See John Walkenbauch's simple method. I suggest keeping it outside of the wb
    instead:

    http://j-walk.com/ss/excel/tips/tip95.htm

    Greg


    "jinvictor" wrote:

    >
    > how can i know howm many times the workbook had been opened?
    > say in A1 shows how many times.
    >
    >
    > --
    > jinvictor
    > ------------------------------------------------------------------------
    > jinvictor's Profile: http://www.excelforum.com/member.php...o&userid=34099
    > View this thread: http://www.excelforum.com/showthread...hreadid=553052
    >
    >


+ 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