Hi all,
Wondering if you can help....
I want to use VBA code so that if cells within a column for instance, column I, is selected it warns the user 'Check you have used the correct column'.
Thanks for your help!!!![]()
![]()
![]()
Hi all,
Wondering if you can help....
I want to use VBA code so that if cells within a column for instance, column I, is selected it warns the user 'Check you have used the correct column'.
Thanks for your help!!!![]()
![]()
![]()
Last edited by deanJ; 10-24-2009 at 09:44 PM. Reason: Closed
Good afternoon deanJ
Your post's a bit unclear. If someone selects any row in column l (that's L) you want a warning flashed up - is that correct?
If so use this code :
Right click your sheet tab and select View Code.![]()
Please Login or Register to view this content.
Then copy the code above into the window that opens.
Go to File > Close and Return to Microsoft Excel.
HTH
DominicB
Last edited by dominicb; 10-21-2009 at 08:37 AM.
Please familiarise yourself with the rules before posting. You can find them here.
Thanks mate, that is exactly what I wanted!!!
Thanks for all your help!!!![]()
![]()
![]()
![]()
Hi. You would simply add the additional conditions.
![]()
Please Login or Register to view this content.
Or you can shorten it up a little bit:
![]()
Please Login or Register to view this content.
Thanks for all your help. You have all been great!
Hello folks,
I was thinking of how else this could be written, Withough the use of mutit IF's, Loops & Or.
I though an array though couldnt see how to do it within these constraints, I came accross a missues of the Scripting.dictionary.
Does anyone know of any other ways that this could be coded.
DeanJ sorry about putting somethink like this in your thread. (I wouldnt use this code bud).![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks