+ Reply to Thread
Results 1 to 3 of 3

Getting values from cells to userform to decide

  1. #1
    Registered User
    Join Date
    08-10-2013
    Location
    Venezuela
    MS-Off Ver
    Excel 2010
    Posts
    18

    Getting values from cells to userform to decide

    Hi everyone

    I'm still trying to learn tricks

    I've this code:

    Please Login or Register  to view this content.
    This code is giving me a error about object not stablished in MyRange = Worksheets("ZULIA").Range("B:B") line.

    The idea is get a msgbox telling us that in range have a duplicate number and return column 4 same row value. as example, NVENTA = 345 the function must search in range B:B this value, if find it must return the value of same row column 4 of the founded value.

    Thanks if somebody can help

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644
    Where and how have you declared MyRange?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    08-10-2013
    Location
    Venezuela
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Getting values from cells to userform to decide

    Hi Norie

    There is variables declared:

    Please Login or Register  to view this content.
    Is there a mistake?
    Thanks

+ 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] Changed userform combobox to listbox, unable to get userform to retrieve datasheet values
    By dragonabsurdum in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2013, 01:38 PM
  2. Replies: 4
    Last Post: 11-28-2012, 06:09 PM
  3. Replies: 3
    Last Post: 04-11-2012, 10:04 AM
  4. Using multiple cells to decide if false
    By danjstock in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-10-2010, 08:37 AM
  5. insert elemnts from cells into array, create a userform with values checkboxes
    By usadream in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-31-2006, 11:30 AM

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