Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Formula to point to another cell if an option is chosen.

Hi,

I have set up a list in data validation. One of the options is 'other'. I
have locked the spreadsheet, apart from the cells I would like the user's to
populate. What I would like to do is have the cursor jump to another section
of the spreadsheet where they can write more comments about this 'other'
option.

Can you help?

Kind regards,
Peggy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Formula to point to another cell if an option is chosen.

Can anyone help with my query?

"Peggy" wrote:

Hi,

I have set up a list in data validation. One of the options is 'other'. I
have locked the spreadsheet, apart from the cells I would like the user's to
populate. What I would like to do is have the cursor jump to another section
of the spreadsheet where they can write more comments about this 'other'
option.

Can you help?

Kind regards,
Peggy

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Formula to point to another cell if an option is chosen.

Formulas cannot make the cursor "jump" to another cell.

You would need event code to move the cursor.

A1 has your dropdown and J1 is where you want to enter the comments.

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub
Application.EnableEvents = False
On Error GoTo endit
If Target.Value = "other" Then
MsgBox "Please enter comments in J1"
Me.Range("J1").Select
End If
endit:
Application.EnableEvents = True
End Sub


This is sheet event code.

Right-click on the sheet tab and "View Code"

Copy/paste the code into that sheet module.


Gord Dibben MS Excel MVP

On Wed, 30 Jan 2008 06:32:00 -0800, Peggy
wrote:

Hi,

I have set up a list in data validation. One of the options is 'other'. I
have locked the spreadsheet, apart from the cells I would like the user's to
populate. What I would like to do is have the cursor jump to another section
of the spreadsheet where they can write more comments about this 'other'
option.

Can you help?

Kind regards,
Peggy


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
Data point on line is not over the point/tick in X axis... TomCat Charts and Charting in Excel 2 September 6th 07 01:36 PM
Introduce Value in a cell with formula, option Filipemr Excel Discussion (Misc queries) 4 March 17th 07 11:02 PM
How do I display chosen filter in a cell below Fernando Seisdedos Excel Worksheet Functions 1 January 31st 07 07:15 PM
put a result into a chosen cell steph Excel Discussion (Misc queries) 1 May 6th 06 05:01 AM
How do I let only one box be chosen when there are several? alruslavage Excel Worksheet Functions 7 May 10th 05 04:09 PM


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