#1   Report Post  
kiran
 
Posts: n/a
Default Work book shared

Hi All,
I have shared my work book. How do i know the changed made by other users
I need to close and reopen to see the changes made by the other user i would
like to know without closing the work book i should know the changes made by
other user is there any thing like refresh the work book?

TIA
  #2   Report Post  
parmar21
 
Posts: n/a
Default


Hi Kiran,


You dont have to close the work sheet and open it again, what you can
do is save the work sheet when ever you want to view the changes made
by other user, clt+s acts as refresh.

hope this helps

digvijay


--
parmar21
------------------------------------------------------------------------
parmar21's Profile: http://www.excelforum.com/member.php...fo&userid=8006
View this thread: http://www.excelforum.com/showthread...hreadid=378893

  #3   Report Post  
mangesh_yadav
 
Posts: n/a
Default


Set a log sheet named say Log. You may hide this sheet. Add a standard
module and enter the following code:

Sub LogChanges(addr)

Set myLog = Worksheets("log")
myRow = myLog.Range("A65536").End(xlUp).Row

myLog.Cells(myRow, 1) = Now()
myLog.Cells(myRow, 2) = addr

End Sub

And in every other sheets module, add the following code

Private Sub Worksheet_Change(ByVal Target As Range)

Call LogChanges(Target.Address)

End Sub


Whenever a user changes some cell, the address is logged in column B in
log sheet, and the time in column A.

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=378893

  #4   Report Post  
Summer
 
Posts: n/a
Default

Mangesh,

Tried your code. This is so cool! (I'm a newbie - only 3 wks with Excel)

I'd like to take this code you posted for the OP and use it a different way.
I am curious...Can this be done?:

Have the Log sheet store "historical" changes, logging only a finite number
of them (overwriting oldest log entries as newer ones are returned)? Can the
Log
sheet also return the Sheet Name that was edited? My idea is to have
something *similar* to an "Audit Trail".

Example of proposed Log sheet:

Sheet Name......... Date & Time............. Cell Address(es)

.........A.................B...................... ...........C...............
1......CustList......6/16/2005..13:09........$A$23:$B$24
2......Products.....6/16/2005 13:15........$D$678
3......CustList......6/16/2005 13:22........$G$567:$K$567
4......CustList......6/16/2005 13:25........$A$567:$E$567
etc...

Hope this makes sense.
--
Summer








  #5   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

You can get the sheet name with this formula:
=RIGHT(CELL("filename",A1),(LEN(CELL("filename",A1 ))-FIND("]",CELL("filename
",A1))))

I have lost track of the post whcih you mention.

Mangesh




"Summer" wrote in message
...
Mangesh,

Tried your code. This is so cool! (I'm a newbie - only 3 wks with Excel)

I'd like to take this code you posted for the OP and use it a different

way.
I am curious...Can this be done?:

Have the Log sheet store "historical" changes, logging only a finite

number
of them (overwriting oldest log entries as newer ones are returned)? Can

the
Log
sheet also return the Sheet Name that was edited? My idea is to have
something *similar* to an "Audit Trail".

Example of proposed Log sheet:

Sheet Name......... Date & Time............. Cell Address(es)


.........A.................B...................... ...........C...............
1......CustList......6/16/2005..13:09........$A$23:$B$24
2......Products.....6/16/2005 13:15........$D$678
3......CustList......6/16/2005 13:22........$G$567:$K$567
4......CustList......6/16/2005 13:25........$A$567:$E$567
etc...

Hope this makes sense.
--
Summer












  #6   Report Post  
Summer
 
Posts: n/a
Default

Mangesh,

Thank you for responding!. Answers to my questions are not critical. I am
merely curious. Please do not go through a lot of trouble on my account. If
the solution is complicated, please do not spend time on this.

Below is the original poster's question with your reply (the one you lost
track of).

Thank you again!
~Summer

"Mangesh Yadav" wrote in message
...
| You can get the sheet name with this formula:
|
=RIGHT(CELL("filename",A1),(LEN(CELL("filename",A1 ))-FIND("]",CELL("filename
| ",A1))))
|
| I have lost track of the post whcih you mention.
|
| Mangesh

| "Summer" wrote in message
| ...
| Mangesh,
|
| Tried your code. This is so cool! (I'm a newbie - only 3 wks with Excel)
|
| I'd like to take this code you posted for the OP and use it a different
| way.
| I am curious...Can this be done?:
|
| Have the Log sheet store "historical" changes, logging only a finite
| number
| of them (overwriting oldest log entries as newer ones are returned)? Can
| the
| Log
| sheet also return the Sheet Name that was edited? My idea is to have
| something *similar* to an "Audit Trail".
|
| Example of proposed Log sheet:
|
| Sheet Name......... Date & Time............. Cell Address(es)
|
|
|
.........A.................B...................... ...........C...............
| 1......CustList......6/16/2005..13:09........$A$23:$B$24
| 2......Products.....6/16/2005 13:15........$D$678
| 3......CustList......6/16/2005 13:22........$G$567:$K$567
| 4......CustList......6/16/2005 13:25........$A$567:$E$567
| etc...
|
| Hope this makes sense.
| --
| Summer

-----------------------------------------

Mangesh wrote Jun 14, 2005:

Set a log sheet named say Log. You may hide this sheet. Add a standard
module and enter the following code:


Sub LogChanges(addr)

Set myLog = Worksheets("log")
myRow = myLog.Range("A65536").End(xlUp*).Row

myLog.Cells(myRow, 1) = Now()
myLog.Cells(myRow, 2) = addr


End Sub


And in every other sheets module, add the following code


Private Sub Worksheet_Change(ByVal Target As Range)
Call LogChanges(Target.Address)

End Sub
Whenever a user changes some cell, the address is logged in column B in
log sheet, and the time in column A.


Mangesh

--------------------------------------------

Kiran wrote Jun 14, 2005:

Hi All,
I have shared my work book. How do i know the changed made by other users
I need to close and reopen to see the changes made by the other user i would
like to know without closing the work book i should know the changes made by
other user is there any thing like refresh the work book?
TIA
-----------------------------------------


  #7   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Hi,

Follow the same method with the following changes in both the codes:

'------------------------------------
Sub LogChanges(addr, sht)

Set myLog = Worksheets("log")
myRow = myLog.Range("A65536").End(xlUp).Row + 1

myLog.Cells(myRow, 1) = Now()
myLog.Cells(myRow, 2) = addr
myLog.Cells(myRow, 3) = sht

End Sub

'------------------------------------

Private Sub Worksheet_Change(ByVal Target As Range)

Call LogChanges(Target.Address, Me.Name)

End Sub

'------------------------------------


Mangesh





"Summer" wrote in message
...
Mangesh,

Thank you for responding!. Answers to my questions are not critical. I am
merely curious. Please do not go through a lot of trouble on my account.

If
the solution is complicated, please do not spend time on this.

Below is the original poster's question with your reply (the one you lost
track of).

Thank you again!
~Summer

"Mangesh Yadav" wrote in message
...
| You can get the sheet name with this formula:
|

=RIGHT(CELL("filename",A1),(LEN(CELL("filename",A1 ))-FIND("]",CELL("filename
| ",A1))))
|
| I have lost track of the post whcih you mention.
|
| Mangesh

| "Summer" wrote in message
| ...
| Mangesh,
|
| Tried your code. This is so cool! (I'm a newbie - only 3 wks with

Excel)
|
| I'd like to take this code you posted for the OP and use it a

different
| way.
| I am curious...Can this be done?:
|
| Have the Log sheet store "historical" changes, logging only a finite
| number
| of them (overwriting oldest log entries as newer ones are returned)?

Can
| the
| Log
| sheet also return the Sheet Name that was edited? My idea is to have
| something *similar* to an "Audit Trail".
|
| Example of proposed Log sheet:
|
| Sheet Name......... Date & Time............. Cell Address(es)
|
|
|

.........A.................B...................... ...........C...............
| 1......CustList......6/16/2005..13:09........$A$23:$B$24
| 2......Products.....6/16/2005 13:15........$D$678
| 3......CustList......6/16/2005 13:22........$G$567:$K$567
| 4......CustList......6/16/2005 13:25........$A$567:$E$567
| etc...
|
| Hope this makes sense.
| --
| Summer

-----------------------------------------

Mangesh wrote Jun 14, 2005:

Set a log sheet named say Log. You may hide this sheet. Add a standard
module and enter the following code:


Sub LogChanges(addr)

Set myLog = Worksheets("log")
myRow = myLog.Range("A65536").End(xlUp*).Row

myLog.Cells(myRow, 1) = Now()
myLog.Cells(myRow, 2) = addr


End Sub


And in every other sheets module, add the following code


Private Sub Worksheet_Change(ByVal Target As Range)
Call LogChanges(Target.Address)

End Sub
Whenever a user changes some cell, the address is logged in column B in
log sheet, and the time in column A.


Mangesh

--------------------------------------------

Kiran wrote Jun 14, 2005:

Hi All,
I have shared my work book. How do i know the changed made by other users
I need to close and reopen to see the changes made by the other user i

would
like to know without closing the work book i should know the changes made

by
other user is there any thing like refresh the work book?
TIA
-----------------------------------------




  #8   Report Post  
Summer
 
Posts: n/a
Default

Thank you so much, Mangesh!

--
Summer



  #9   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Glad to help. Thanks for the feedback.

Mangesh


"Summer" wrote in message
...
Thank you so much, Mangesh!

--
Summer





Reply
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
Work book formulas Jessica Excel Discussion (Misc queries) 1 June 9th 05 10:51 AM
Is there away to keep "auto save" from jumping to the first work sheet in the work book? Marc New Users to Excel 2 April 21st 05 01:27 AM
Using a cell reference to refernce worksheet in another work book [email protected] Excel Worksheet Functions 5 January 6th 05 06:26 PM
Change Path names in copied work book jheaney Excel Worksheet Functions 2 November 18th 04 07:29 PM
The colors should work properly in Shared Excel Workbooks. [email protected] Excel Worksheet Functions 1 November 8th 04 10:55 PM


All times are GMT +1. The time now is 09:21 AM.

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

About Us

"It's about Microsoft Excel"