LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to record a sheet change showing row column sheet name and date?


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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Row and Column identifier tabs now showing on sheet 1 George Setting up and Configuration of Excel 2 April 18th 10 04:11 AM
Showing Specific Data from Master Sheet to Another Sheet Parker Jones New Users to Excel 1 July 10th 09 02:01 AM
Duplicate sheet, autonumber sheet, record data on another sheet des-sa[_2_] Excel Worksheet Functions 0 May 8th 08 06:56 PM
Formula that will record the time and date when an entry is made on a sheet [email protected] Excel Worksheet Functions 3 October 11th 07 08:28 AM
How to record a sheet change showing row column sheet name and date? Simon Lloyd[_574_] Excel Programming 1 October 5th 04 11:22 AM


All times are GMT +1. The time now is 07:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"