+ Reply to Thread
Results 1 to 3 of 3

Passing a value from a combo box to a cell on another sheet

  1. #1
    Registered User
    Join Date
    02-14-2016
    Location
    NYC
    MS-Off Ver
    2010
    Posts
    1

    Passing a value from a combo box to a cell on another sheet

    I am an amateur, so I tried the following to pass the value from a combobox named Dropdown2 to a sheet named GraphData, and got a "run-time error 424...object required" error message. Any ideas...thanks in advance!

    Sub GetDealName()
    Sheets("Sheet7").Range("A1").Value = Dropdown2.Value
    End Sub

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Passing a value from a combo box to a cell on another sheet

    Welcome to the board!

    Please use code tags when posting code.

    to a sheet named GraphData
    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

  3. #3
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Passing a value from a combo box to a cell on another sheet

    Adding to Tinbendr's suggestion, if your Dropdown2 is on a different sheet than "GraphData", you should qualify Dropdown2 with that sheet reference. example:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Syntax for passing a worksheet combo box as a parameter - null receive
    By insomniac53 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-30-2015, 06:35 AM
  2. [SOLVED] Syntax for passing a worksheet combo box as a parameter
    By insomniac53 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-20-2015, 01:46 PM
  3. Replies: 7
    Last Post: 10-23-2014, 06:18 PM
  4. [SOLVED] Excel 2010 VBA – Combo Box Options– Clear cell/box in 2nd Combo when 1st Combo selected
    By theshybutterfly in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2013, 07:25 PM
  5. Replies: 9
    Last Post: 09-13-2013, 04:37 AM
  6. Passing combo box by name returns the combo box's value
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-30-2011, 06:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1