Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tammy
 
Posts: n/a
Default drop down box to open when selected

Help please excel; when I select a cell that has a drop down box I want it to
open
  #2   Report Post  
RagDyer
 
Posts: n/a
Default

Look here at Debra Dalgleish's web page on the subject:

http://www.contextures.com/xlDataVal01.html
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

"Tammy" wrote in message
...
Help please excel; when I select a cell that has a drop down box I want it
to
open

  #3   Report Post  
Andy Brown
 
Posts: n/a
Default

Help please excel; when I select a cell that has a drop down box I want it
to
open


Try some code in the worksheet module (rightclick the sheet tab & "View
Code"):

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address < "$B$2" Then Exit Sub
SendKeys "%{DOWN}"
End Sub


  #4   Report Post  
Tammy
 
Posts: n/a
Default

I tryied this but it did not work I'm sure I've done something wrong. I
pasted the formula in visual basic and saved would that be it? Help Please

"Andy Brown" wrote:

Help please excel; when I select a cell that has a drop down box I want it

to
open


Try some code in the worksheet module (rightclick the sheet tab & "View
Code"):

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address < "$B$2" Then Exit Sub
SendKeys "%{DOWN}"
End Sub



  #5   Report Post  
Andy Brown
 
Posts: n/a
Default

I tried this but it did not work I'm sure I've done something wrong. I
pasted the formula in visual basic and saved would that be it? Help

Please

It works for cell B2, and assumes that B2 has some Data Validation attached
to it, and must go in the worksheet module (*not* an ordinary one).

For info on worksheet events, see
http://www.mvps.org/dmcritchie/excel/event.htm ; for info on DV, start at
http://www.contextures.com/xlDataVal01.html

Rgds,
Andy


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
How do I get my personal macro worksheet to open whenever I open . Claudia_R Excel Discussion (Misc queries) 3 December 9th 04 11:59 PM
Cannot open a file that Excel says is open Plodhia Excel Discussion (Misc queries) 2 December 7th 04 01:43 AM
Filling drop down box Nick Excel Discussion (Misc queries) 0 November 25th 04 07:49 PM
drop down help rob102_uk Excel Worksheet Functions 1 November 17th 04 04:09 PM
Drop List Referencing Boony Excel Worksheet Functions 2 November 11th 04 11:42 AM


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