Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
lennyx2
 
Posts: n/a
Default macro that brings user to cell based on "yes/no" response

Hi to all,
I'm not too good with macros, but i'm learning.
I am constructing a survey tool and would like a macro that automatically
goes to a cell based on the Yes or No response selected from a drop-down box
in another cell. For example, if NO then go to question #4.

Any thoughts? Much appreciated.
  #2   Report Post  
 
Posts: n/a
Default

hi,
assuming that each question has a combo box.
Assuming that the combo box in column A
Assuming that each question is on each row.
Right click the combo box in design mode. cleck view code.
Private Sub ComboBox1_Change()
If ComboBox1.Value = "No" Then
Range("B5").select
end if
end sub
-----Original Message-----
Hi to all,
I'm not too good with macros, but i'm learning.
I am constructing a survey tool and would like a macro

that automatically
goes to a cell based on the Yes or No response selected

from a drop-down box
in another cell. For example, if NO then go to question

#4.

Any thoughts? Much appreciated.
.

  #3   Report Post  
lennyx2
 
Posts: n/a
Default

I'm using data validation for a list of acceptable answers, would you
recommend the combo box route instead?

"lennyx2" wrote:

Hi to all,
I'm not too good with macros, but i'm learning.
I am constructing a survey tool and would like a macro that automatically
goes to a cell based on the Yes or No response selected from a drop-down box
in another cell. For example, if NO then go to question #4.

Any thoughts? Much appreciated.

Reply
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
show macro security setting in a cell Mark Excel Worksheet Functions 3 March 21st 05 07:53 AM
changing value of a cell based on another cell color Gary Excel Discussion (Misc queries) 2 January 30th 05 10:19 AM
New Excel user needs help with simple Macro... Rahim Kassam New Users to Excel 1 January 24th 05 02:10 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
Returning a Value to a Cell Based on a Range of Uncertain Size amc422 Excel Worksheet Functions 7 November 14th 04 03:03 PM


All times are GMT +1. The time now is 07:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"