Results 1 to 4 of 4

Excel Timestamps (Not Working When Workbook Is Protected)

Threaded View

Anaky Excel Timestamps (Not Working... 07-29-2014, 11:57 AM
HaHoBe Re: Excel Timestamps (Not... 07-29-2014, 12:08 PM
Anaky Re: Excel Timestamps (Not... 07-29-2014, 01:19 PM
Anaky Re: Excel Timestamps (Not... 07-29-2014, 01:41 PM
  1. #1
    Registered User
    Join Date
    06-04-2014
    Posts
    13

    Excel Timestamps (Not Working When Workbook Is Protected)

    Hi;

    I have a small problem with this time stamp I am using.

    When the worksheet is not protected the time stamp I am using works fine and enter's the time correctly as I want it to. Though when I lock the cells in column 3 and enter data into column 2, I am getting this error message.

    As you can see the first time it worked (when it wasn't protected), and the second time I locked column 3 and protected the worksheet and it did not work.

    http://s30.postimg.org/rlt1aquqp/Error.jpg

    This is the only code I am using as well;

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Column = 2 Then
    Cells(Target.Row, 3).Value = Time
    End If
    End Sub

    Any help would be greatly appreciated.

    Regards;

    Andy
    Last edited by Anaky; 07-29-2014 at 01:44 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macros not working in a protected workbook
    By Triscia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2013, 08:25 AM
  2. Timestamps excel
    By excelvin in forum Excel General
    Replies: 1
    Last Post: 11-05-2012, 12:34 PM
  3. VBA Macro not working when workbook is protected
    By JustinMAS in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-24-2008, 04:58 PM
  4. [SOLVED] Autofilter in protected workbook not working
    By Rumpa Biswas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-27-2006, 12:35 PM
  5. [SOLVED] Working with protected Databases Access through Excel
    By Dennis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2005, 06:05 PM

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