LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 621
Default Change cell data using a mouse click?

You're welcome.

Gord

On Mon, 28 Jan 2013 09:11:47 +0000, princejim
wrote:


'Gord Dibben[_2_ Wrote:
;1608920']Right-click on sheet tab and "View Code" to open sheet
module.

Copy/paste this code into that module.

Private Sub Worksheet_BeforeDoubleClick(ByVal Target _
As Range, Cancel As Boolean)
ActiveCell.Value = 1
Cancel = True
End Sub

Close and d-click on any cell with a zero.


Gord




On Fri, 25 Jan 2013 19:18:47 +0000, princejim
wrote:
-

I have tables with lots of cells containing a zero, I would like to
change cells at random to a 1 just by clicking on the cell, new user

so
any help would be much appriciated.-



Thanks Gord, brill just what I wanted, that makes the job of data entry
easy.



 
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
How to click a cell with mouse and have a different tab appear Randy Carriere Excel Programming 4 June 22nd 08 03:21 AM
How to change action of double-click left mouse button? MouseControl Excel Discussion (Misc queries) 1 September 10th 07 11:50 PM
VBA - Click mouse to change cursor to cross hair that spans the en gary Excel Programming 26 May 26th 06 04:15 PM
Add cell value with mouse click cbrasted Excel Discussion (Misc queries) 4 April 27th 05 01:36 AM
get value of a cell with a mouse click Ken Wright Excel Programming 0 July 22nd 03 07:15 PM


All times are GMT +1. The time now is 06:59 PM.

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"