First off, my VBA/Macros is EXTREMELY limited. In fact, I don't really even know what I'm doing when it comes to this stuff.
With that said, I have a simple macros as show below:
which allows me to place a checkmark in the cell on a double click.Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) Target = "a" End Sub
I want this to only apply to the N column in my spreadsheet. Is this possible?
Last edited by JHizzal; 12-23-2011 at 11:14 AM. Reason: Solved
Try this
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) If Target.Column <> 14 Then Exit Sub Target = "a" End Sub
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
Works perfectly Roy. Thank you!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks