Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 13th, 2009, 05:59 AM
Authorized User
 
Join Date: Mar 2008
Posts: 74
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via ICQ to sektor
Default DropDown control problem [Excel 2007]

I have code (taken from Excel 2007 VBA Programmer's Reference) which creates and fills DropDown control when I double-click a cell.
It works fine in Excel 2007 with English UI, but it when I switch to Russian UI, then I get the following error (translation from russian to english):

Runtime error '1004': Unable to get DropDowns property of Worksheet.

Here's the code (the line with "With ActiveSheet.Dropdowns" is highlighted by compiler):

Code:
Private Sub GetWorkerName()

    ' Enter selected item into cell beneath DropDown.
    With ActiveSheet.DropDowns(Application.Caller)
    '......................
    ' Delete DropDown.
     .Delete

    End With
    
End Sub





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropdown problem in excel 2007 Aker Excel VBA 1 October 31st, 2008 11:49 AM
Excel 2000 upgrade to Excel 2007 poyserr Excel VBA 0 October 27th, 2008 10:51 AM
DropDown problem in Excel 2003 sektor Excel VBA 3 March 27th, 2008 05:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.