+ Reply to Thread
Results 1 to 2 of 2

inserting data from visual basic form

  1. #1
    Registered User
    Join Date
    02-06-2007
    Posts
    5

    inserting data from visual basic form

    Can anyone tell me how to get the information from a combo box on a visual basic form and then insert the information into a specified place. Currently in my calander excel software i have been able to select the correct sheet and the correct cell to have the data inserted into but i dont know how to insert the text in the combo box in the form.

    Can anyone help me please

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Jexy,

    Here's how...

    Please Login or Register  to view this content.
    This example puts the user selection from ComboBox1 into thet worksheet cell A1 on Sheet1. Change these names to match what you are using. The "If" statement tests if the user has selected anything. This avoids a program error.

    Sincerely,
    Leith Ross

+ Reply to Thread

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