LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default choose more than 1 column

Hello,

I am trying to adapt a VBA code seen in these newsgroups, and modify the
following condition to be able to choose more than one column reference:


If Target.Column < 1 Then Exit Sub


The previous command says if my selection is NOT in Column A, then exit
I would like the command to state if not Column A, N, P and from AA to AM
then exit

I'm not sure of the syntax, I tried a few things, but was incorrect.

Can someone help, please?

Thanks

André


 
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
choose last cell with a value in a column jcheko Excel Discussion (Misc queries) 6 December 8th 09 02:50 PM
CHOOSE from a column FARAZ QURESHI Excel Discussion (Misc queries) 6 February 2nd 09 02:14 PM
Choose Column in Calculation martins New Users to Excel 2 April 3rd 06 06:14 PM
how i choose the column from a combo box Alberto Vargas Excel Discussion (Misc queries) 4 July 22nd 05 11:07 PM
in excel, how do I choose a column and add 20% servmarkpdx Excel Worksheet Functions 1 November 18th 04 07:36 PM


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