Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks Bob, I inserted the code into the worksheet selection change at the botto of all my code and then made selection changes to the worksheet after change was made it came up with a debug error (424 i think!) giving problem with object required, however the file does exist! I couldn get the second line to work without adding the brackets aroun Filename. When the 424 fault arises the oWB=Nothing an Nothing=Nothing, i'm sure its my fault and im missing something. If oWBAudit Is Nothing Then Set oWBAudit = Workbooks.Open(FileName:="C:\Audit\Tracking.xls") End If 'writing the change is simply a matter of addig something like With oWBAudit.Worksheets(1).Cells(Rows.Count, "A").End(xlUp) .Offset(1, 0).Value = Target.Value .Offset(1, 1).Value = Format(Date, "dd mmm yyyy") .Offset(1, 2).Value = Application.UserName End With End Su -- Simon Lloy ----------------------------------------------------------------------- Simon Lloyd's Profile: http://www.excelforum.com/member.php...nfo&userid=670 View this thread: http://www.excelforum.com/showthread.php?threadid=26636 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Row and Column identifier tabs now showing on sheet 1 | Setting up and Configuration of Excel | |||
Showing Specific Data from Master Sheet to Another Sheet | New Users to Excel | |||
Duplicate sheet, autonumber sheet, record data on another sheet | Excel Worksheet Functions | |||
Formula that will record the time and date when an entry is made on a sheet | Excel Worksheet Functions | |||
How to record a sheet change showing row column sheet name and date? | Excel Programming |