Results 1 to 4 of 4

Passing Info from a Form combobox

Threaded View

  1. #1
    Registered User
    Join Date
    03-16-2004
    Posts
    65

    Passing Info from a Form combobox

    What am I doing wrong here? I have a custom form with a combobox on it, and I'm trying to set a variable in my workbook to read that info, but my value always comes up blank...here is my code...

    Dim var1 As String, rngData As Range, Rng As Range
    frmHrs.cboHrs.AddItem "40 Hrs"
    frmHrs.cboHrs.AddItem "45 Hrs"
    frmHrs.cboHrs.AddItem "50 Hrs"
    frmHrs.Show
    var1 = frmHrs.cboHrs
    Any help would be much appreciated.
    Last edited by TyeJae; 10-28-2008 at 09:20 AM.

Thread Information

Users Browsing this Thread

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

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