+ Reply to Thread
Results 1 to 3 of 3

Row source values in VBA

  1. #1
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Row source values in VBA

    Hi ,

    I have attached the sheet here and i am expecting the values from sheet 1 only applicable for textbox from userform called TriggerJob.

    if am giving any values other than available from row source it should display the msg box .

    if am giving valid values from the list it should navigate to another userform called Final.

    Row source is available in Column S (Sheet 1).

    Could you please help to solve this.

    Thanks !!

    Regards,
    Praba
    Attached Files Attached Files

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Row source values in VBA

    I'd start by saying that you are comparing a value to a range of more than one cell, that will not work. Here is a suggestion:

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    08-15-2016
    Location
    Chennai
    MS-Off Ver
    MS2013
    Posts
    159

    Re: Row source values in VBA

    Hi... Thanks lot for the help. Again i have updated the code and expectations are

    1. If am entering employee id in trigger job userform , then msgbox should shows name (Names are available in the T column) of the user with Yes or No . (Ex. Hi User 1, are you sure to run the job).

    2. If it is Yes another user form (Final) should get display else nothing should happen.

    Thank you in advance!
    Attached Files Attached Files

+ 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. Missing values from source data
    By etaver87 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-18-2016, 02:53 PM
  2. Replies: 2
    Last Post: 03-02-2015, 07:02 AM
  3. Replies: 2
    Last Post: 09-06-2013, 03:15 PM
  4. Paste Values and Source Formatting?
    By lzrdlvr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2013, 03:46 PM
  5. Source data values from 2 different sheets
    By writeguy37 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-03-2008, 03:51 AM
  6. Replies: 3
    Last Post: 06-16-2006, 04:50 PM
  7. Please Help!! Values Not Updating from linked source
    By John Whitmer in forum Excel General
    Replies: 0
    Last Post: 01-17-2006, 03:55 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