Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Creating a drop down list

I used validation to create a drop down list, but my question is how to make
that drop down appear when I open the worksheet instead of just clicking on
the cell?

Thanks,
Beth
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Creating a drop down list

Try something like this Workbook_Open event code:

Private Sub Workbook_Open()
With Sheet1.Range("B2")
.Select
Application.SendKeys ("%{DOWN}")
End With
End Sub

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"bethjoy79" wrote in message
...
I used validation to create a drop down list, but my question is how to
make
that drop down appear when I open the worksheet instead of just clicking
on
the cell?

Thanks,
Beth



  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Creating a drop down list

You can't, that's the way it is. But you could always make the DV cell
distinct via eg creative formatting. Eg: using dark red fill with bold white
font for the DV cell, with a text phrase "Select" in the cell just above the
DV, or use a bold arrow, or a call-out autoshape to point to the DV cell, etc
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"bethjoy79" wrote:
I used validation to create a drop down list, but my question is how to make
that drop down appear when I open the worksheet instead of just clicking on
the cell?

Thanks,
Beth

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Creating a drop down list

Ron, I'm sorry, you kind of lost me with your code. Do I input this code in
the cell? I appreciate your help!

"Ron Coderre" wrote:

Try something like this Workbook_Open event code:

Private Sub Workbook_Open()
With Sheet1.Range("B2")
.Select
Application.SendKeys ("%{DOWN}")
End With
End Sub

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"bethjoy79" wrote in message
...
I used validation to create a drop down list, but my question is how to
make
that drop down appear when I open the worksheet instead of just clicking
on
the cell?

Thanks,
Beth




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Creating a drop down list

Ooops! Sorry for being vague..

Heres what you do:

Right-click on the sheet tab and select: View Code
(that will open the Visual Basic Editor and display the code module for the
sheet.)

The left side of the VBE will list the workbook and all of its sheets.
Double-click on the "This Workbook" item
(that will display the code module for the workbook)

Copy the below code and paste it into that window (changing the sheet name
and cell reference):

Private Sub Workbook_Open()
Sheets("Sheet1").Activate
Range("B2").Select
Application.SendKeys ("%{DOWN}")
End Sub

Then...Save the workbook.....Close it......then re-open it.

Does that help?

--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)



"bethjoy79" wrote in message
...
Ron, I'm sorry, you kind of lost me with your code. Do I input this code
in
the cell? I appreciate your help!

"Ron Coderre" wrote:

Try something like this Workbook_Open event code:

Private Sub Workbook_Open()
With Sheet1.Range("B2")
.Select
Application.SendKeys ("%{DOWN}")
End With
End Sub

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"bethjoy79" wrote in message
...
I used validation to create a drop down list, but my question is how to
make
that drop down appear when I open the worksheet instead of just
clicking
on
the cell?

Thanks,
Beth








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Creating a drop down list

Ron,
Thanks for the clarification.
I did copy and paste the formula into the View Code, changing the name of
the sheet and cell, but it didn't change anything. I have three sheets in
the workbook and I changed it both in the "This Workbook" and "Sheet 2." Did
I do something wrong?
I have a spreadsheet that someone sent me that has what I'm looking for, but
the sheet is locked , so I know it can be done, I just can't figure it out.
UGH?!!

Beth

"Ron Coderre" wrote:

Ooops! Sorry for being vague..

Heres what you do:

Right-click on the sheet tab and select: View Code
(that will open the Visual Basic Editor and display the code module for the
sheet.)

The left side of the VBE will list the workbook and all of its sheets.
Double-click on the "This Workbook" item
(that will display the code module for the workbook)

Copy the below code and paste it into that window (changing the sheet name
and cell reference):

Private Sub Workbook_Open()
Sheets("Sheet1").Activate
Range("B2").Select
Application.SendKeys ("%{DOWN}")
End Sub

Then...Save the workbook.....Close it......then re-open it.

Does that help?

--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)



"bethjoy79" wrote in message
...
Ron, I'm sorry, you kind of lost me with your code. Do I input this code
in
the cell? I appreciate your help!

"Ron Coderre" wrote:

Try something like this Workbook_Open event code:

Private Sub Workbook_Open()
With Sheet1.Range("B2")
.Select
Application.SendKeys ("%{DOWN}")
End With
End Sub

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"bethjoy79" wrote in message
...
I used validation to create a drop down list, but my question is how to
make
that drop down appear when I open the worksheet instead of just
clicking
on
the cell?

Thanks,
Beth






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Creating a drop down list

Can you post:
the name of the workbook,
the name of the worksheet,
and the reference to the cell with the DV drop-down list
that you want displayed upon opening the workbook?

Also post the code you're using.

We'll see what we can to to help you.
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)



"bethjoy79" wrote in message
...
Ron,
Thanks for the clarification.
I did copy and paste the formula into the View Code, changing the name of
the sheet and cell, but it didn't change anything. I have three sheets in
the workbook and I changed it both in the "This Workbook" and "Sheet 2."
Did
I do something wrong?
I have a spreadsheet that someone sent me that has what I'm looking for,
but
the sheet is locked , so I know it can be done, I just can't figure it
out.
UGH?!!

Beth

"Ron Coderre" wrote:

Ooops! Sorry for being vague..

Heres what you do:

Right-click on the sheet tab and select: View Code
(that will open the Visual Basic Editor and display the code module for
the
sheet.)

The left side of the VBE will list the workbook and all of its sheets.
Double-click on the "This Workbook" item
(that will display the code module for the workbook)

Copy the below code and paste it into that window (changing the sheet
name
and cell reference):

Private Sub Workbook_Open()
Sheets("Sheet1").Activate
Range("B2").Select
Application.SendKeys ("%{DOWN}")
End Sub

Then...Save the workbook.....Close it......then re-open it.

Does that help?

--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)



"bethjoy79" wrote in message
...
Ron, I'm sorry, you kind of lost me with your code. Do I input this
code
in
the cell? I appreciate your help!

"Ron Coderre" wrote:

Try something like this Workbook_Open event code:

Private Sub Workbook_Open()
With Sheet1.Range("B2")
.Select
Application.SendKeys ("%{DOWN}")
End With
End Sub

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"bethjoy79" wrote in message
...
I used validation to create a drop down list, but my question is how
to
make
that drop down appear when I open the worksheet instead of just
clicking
on
the cell?

Thanks,
Beth









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
Creating Drop Down List inside a cell? ybkusz Excel Discussion (Misc queries) 1 September 16th 07 07:33 AM
Creating a drop down list that modifiys the next field. [email protected] Excel Discussion (Misc queries) 2 May 10th 07 06:34 PM
Creating a drop down list Ed New Users to Excel 1 August 9th 06 09:45 PM
question about creating a simple drop down list [email protected] Excel Worksheet Functions 4 March 18th 06 06:03 AM
Creating a drop down list from another drop down Jody Excel Discussion (Misc queries) 2 March 8th 06 08:14 PM


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