LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Shared Workbook

On Aug 11, 8:40*pm, eliano wrote:
On 12 Ago, 02:27, Slim Slender wrote:





Here's something I can't figure out.
If I run this by double-clicking in an empty cell, it enters the
username then stays in edit mode with the cursor flashing in the cell.
When I *duoble click on a cell that has something in it, the program
does what it is supposed to do and skips down to an empty cell and
enters the username and "finishes", the cursor not flashing. I would
like to have them both "finish". How is that controlled?


Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel
As Boolean)
* * If Target.Column = 3 Then
* * * * Do
* * * * * * If Selection.Value < "" Then
* * * * * * * * Selection.Offset(1, 0).Select
* * * * * * End If
* * * * Loop Until Selection.Value = ""
* * * * Selection.Value = Environ("username")
* * End If
End Sub


Hi Slim.
Probably, due to my poor english, I have not understood.
However try to insert the instruction:
Cancel = True
as first instruction in the macro.
Regards
Eliano- Hide quoted text -

- Show quoted text -


Thanks Eliano, that works.


 
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
shared workbook is set up is not 'shared' on network moviemaker novice Excel Worksheet Functions 0 April 7th 10 03:31 AM
shared workbook - shared workbook options grayed out Edward Letendre Excel Discussion (Misc queries) 0 March 3rd 10 10:47 PM
Shared Workbook - Slow opening of shared workbook. [email protected] Excel Programming 2 August 29th 07 05:14 PM
Printing viewing a shared workbook on a shared drive aloomba Excel Discussion (Misc queries) 0 April 13th 07 02:52 PM
update pivot in shared shared workbook 00George00 Excel Discussion (Misc queries) 1 August 23rd 06 08:16 PM


All times are GMT +1. The time now is 10:45 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"