Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Changing Range in Forms Drop Down Without Selecting

Hello.

I'm trying to change the range in a drop down box without selecting the
object, but I'm having difficulty doing this.

Excel keeps the object selected even after you select a different cell.
(I know I encountered this problem a while back, but forgot the
resolution.)

Part of this is because I'm using another forms object to call the
procedure. If I run this on its own it usually doesn't have the same
problem.

Right now I have:

Private Sub QueueButton_Click()
Range("A3").Value = "Queue Type"
Rows("4:11").EntireRow.Hidden = False
Rows("12:20").EntireRow.Hidden = True

ActiveSheet.Shapes("Drop Down 2").Select
With Selection
.ListFillRange = "AccessPoint!$N$2:$N$9"
.DropDownLines = 8
End With
Range("C1").Select
End Sub

Any help here would be greatly appreciated.

Thanks.

Dan

*** Sent via Developersdex http://www.developersdex.com ***
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
Changing the range for my drop down menu Erinayn Excel Discussion (Misc queries) 4 September 12th 08 02:53 PM
Source Range Data changing based on drop-down menu [email protected] Charts and Charting in Excel 3 March 9th 08 06:19 PM
changing value of a cell by selecting an item from a drop down list Bobby Mir Excel Worksheet Functions 6 June 8th 05 08:33 PM
Selecting & Copying a Changing Range DNewton[_3_] Excel Programming 2 May 3rd 04 03:44 PM
Selecting a constant changing Range Michael[_10_] Excel Programming 2 August 14th 03 01:30 PM


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