+ Reply to Thread
Results 1 to 7 of 7

pick by screen -issue with IF statement

  1. #1
    Registered User
    Join Date
    09-03-2012
    Location
    fdsfs
    MS-Off Ver
    Excel 2003
    Posts
    4

    pick by screen -issue with IF statement

    Hi Guys,

    I'm working on small excel programm which Can shows pictures depends on if statement,for example I have table in sheet DATA:


    item comp no
    1 Box 010
    1 Box 020
    1 Box 030
    1 Label 050
    1 Label 060
    2 Box 010
    2 Box 020
    2 Label 050
    2 Label 060
    2 Label 070

    Mcode:
    Please Login or Register  to view this content.
    My code shows texts in box1 box2 box3 etc but It also shows text from 4th row.
    I would like to show just Cells(i, 3) in boxs when Worksheets("DATA").Cells(i, 1) And Worksheets("DATA").Cells(i, 2) = "Box"

    I really can't go thru it

    Could you help me?

    thank you

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: pick by screen -issue with IF statement

    Hi

    Can you put up an example file with some data, the comboboxes and your code so we can review.

    ryo

  3. #3
    Registered User
    Join Date
    09-03-2012
    Location
    fdsfs
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: pick by screen -issue with IF statement

    I have attached file.When I type in item number in item textbox I would like to shows in images all pictures of components from this item number.

    thank you for replay
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-03-2012
    Location
    fdsfs
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: pick by screen -issue with IF statement

    Can Anyone help me?

    I will be really appreciate

  5. #5
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: pick by screen -issue with IF statement

    Hi

    Shouldn't
    Please Login or Register  to view this content.
    be
    Please Login or Register  to view this content.
    BOXTOP is only 6 characters long, and from your example file BOXTOP appears in column H which is column 8

    rylo

  6. #6
    Registered User
    Join Date
    09-03-2012
    Location
    fdsfs
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: pick by screen -issue with IF statement

    yyeep.
    I had to remove personal data from table.I forgot to change value from 13 to 6.
    Any idea how to to fix it?

  7. #7
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: pick by screen -issue with IF statement

    Hi

    If the changes to the formula don't fix your problem, update the example file, and the code in that file and reattach.

    rylo

+ 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