[mso] Re: Excel Question
- From: David Shrum <aq392@xxxxxxxxx>
- To: mso@xxxxxxxxxxxxx
- Date: Tue, 19 Feb 2008 17:26:54 -0500
Thanks Dave, but I looked and didn't find that, I most likely don't know
where to look, and it isn't that important anyway. I do appreciate your
help though; I was hoping it might be something simple like drawing a
box around the columns. My problem is I work under the motto of K.I.S.S.
for me, like I said thanks for your help, but that is a little more
involved than I want to get into right now.
Dave
David Smart wrote:
> Have a look for a selection change event handler. It'll either be
> Worksheet_SelectionChange in the module belonging to the sheet, or
> Workbook_SheetSelectionChange in the ThisWorkbook module.
>
> This is a simple bit of code to limit the availability to the left five
> columns.
>
> Option Explicit
>
> Private Sub Worksheet_SelectionChange(ByVal Target As Range)
> If Target.Column > 5 Then
> Cells(Target.Row + 1, 1).Activate
> End If
> End Sub
>
> Note that I haven't bothered to check whether it was a tab or not that took
> you to the cell beyond Column E. Code that only does it for a tab would
> require a keystroke interception handler which is MUCH more complicated.
>
> Regards, Dave S
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, visit the group's homepage and use the dropdown
menu at the top. This will allow you to unsubscribe your email address or
change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to share files with the group, you must join our Yahoo sister group.
This group will not allow for posting of emails, but will allow you to join
and share problem files, templates, etc.:
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE
SHARING ONLY.
If you are using Outlook and you see a lot of unnecessary code in your email
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************
- References:
- [mso] Excel Question
- From: David Shrum
- [mso] Re: Excel Question
- From: David Smart
Other related posts:
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- » [mso] Excel Question
- » [mso] Re: Excel Question
- » [mso] Re: Excel Question
- [mso] Excel Question
- From: David Shrum
- [mso] Re: Excel Question
- From: David Smart