Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Excel 2007 VBA Programmer's Reference ISBN: 978-0-470-04643-2
This is the forum to discuss the Wrox book Excel 2007 VBA Programmer's Reference by John Green, Stephen Bullen, Rob Bovey, Michael Alexander; ISBN: 9780470046432
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Excel 2007 VBA Programmer's Reference ISBN: 978-0-470-04643-2 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, 06:20 AM
Authorized User
 
Join Date: Mar 2008
Location: , , Russia.
Posts: 74
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via ICQ to sektor
Default DropDown control problem [Excel 2007]

I wrote code which creates and fills DropDown control when I double-click a cell (page 215).
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 control problem [Excel 2007] sektor Excel VBA 0 May 13th, 2009 05:59 AM
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.