PC Review


Reply
Thread Tools Rate Thread

control should go to next cell

 
 
=?Utf-8?B?TWlyIEtoYW4=?=
Guest
Posts: n/a
 
      5th Oct 2007
Hi Experts i have a question...

I have an excel where column B has a drop down with Y,N, and NA in it in
each cell. now what i want is if option Y is chosen the control should go to
the next cell below it.

Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SlJGb3Jt?=
Guest
Posts: n/a
 
      5th Oct 2007
Mir Khan,

If you are not using the menu item Data>Validation then you could use
activecell.offset(1,0).select


"Mir Khan" wrote:

> Hi Experts i have a question...
>
> I have an excel where column B has a drop down with Y,N, and NA in it in
> each cell. now what i want is if option Y is chosen the control should go to
> the next cell below it.
>
> Thanks

 
Reply With Quote
 
=?Utf-8?B?SlJGb3Jt?=
Guest
Posts: n/a
 
      5th Oct 2007
Mir Khan,

If you are not using the Data>Validation method then try this

activecell.offset(1,0).select

"Mir Khan" wrote:

> Hi Experts i have a question...
>
> I have an excel where column B has a drop down with Y,N, and NA in it in
> each cell. now what i want is if option Y is chosen the control should go to
> the next cell below it.
>
> Thanks

 
Reply With Quote
 
=?Utf-8?B?UGF4dG9uUm9hZEVuZA==?=
Guest
Posts: n/a
 
      5th Oct 2007
You could use the selection_change event of a worksheet

If target = "Y" then Selection.Offset(1,0)

Else

'Do Nothing

End If
--
BerbatovIsGod


"JRForm" wrote:

> Mir Khan,
>
> If you are not using the Data>Validation method then try this
>
> activecell.offset(1,0).select
>
> "Mir Khan" wrote:
>
> > Hi Experts i have a question...
> >
> > I have an excel where column B has a drop down with Y,N, and NA in it in
> > each cell. now what i want is if option Y is chosen the control should go to
> > the next cell below it.
> >
> > Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Jump to cell based on cell results created by calendar control too JB Microsoft Excel Misc 3 15th Jan 2008 08:18 PM
Control Cell Link for Option Button based on value in a cell arunjoshi Microsoft Excel Misc 1 5th May 2004 03:15 AM
Control Cell Link for Option Button based on value in a cell arunjoshi Microsoft Excel Programming 1 5th May 2004 02:19 AM
Control Cell Link for Option Button based on value in a cell arunjoshi Microsoft Excel Discussion 1 5th May 2004 12:30 AM
Control Cell Link for Option Button based on value in a cell arunjoshi Microsoft Excel Programming 0 4th May 2004 05:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:51 AM.