+ Reply to Thread
Results 1 to 16 of 16

Show More Product Details Goes to Debug

  1. #1
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Show More Product Details Goes to Debug

    Hello,

    On the Report sheet there is a shape "Search" please select. Then choose an item and click on "See More Details...". At this point it goes to debug mode. Maybe there is something wrong with the range since now it is a table that the details are in?

    Can someone please see if the code needs to be edited

    Thank you very much

  2. #2
    Valued Forum Contributor
    Join Date
    10-12-2021
    Location
    CT
    MS-Off Ver
    365
    Posts
    462

    Re: Show More Product Details Goes to Debug

    Change "B7:K57" to "B7:K7"

  3. #3
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Re: Show More Product Details Goes to Debug

    You are a genius thanks so much!

  4. #4
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Re: Show More Product Details Goes to Debug

    It is putting what is in row 8 now and not the selected item. At least it is not an error.

  5. #5
    Valued Forum Contributor
    Join Date
    10-12-2021
    Location
    CT
    MS-Off Ver
    365
    Posts
    462

    Re: Show More Product Details Goes to Debug

    I'll take another look - I just knew what was causing the error. What is supposed to happen when you click "see more details"?

  6. #6
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Re: Show More Product Details Goes to Debug

    I tried a smaller range that was within the data and it put the correct line. Instead of the selected cell range can it specify the table rows of data?

  7. #7
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Re: Show More Product Details Goes to Debug

    What is supposed to happen is it will put one line of details for the selected item on the Report sheet.

  8. #8
    Valued Forum Contributor
    Join Date
    10-12-2021
    Location
    CT
    MS-Off Ver
    365
    Posts
    462

    Re: Show More Product Details Goes to Debug

    what do you mean by "specify the table rows of data?" I can program it so it doesn't delete the previous searched item.

  9. #9
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Re: Show More Product Details Goes to Debug

    I don't know how to use code for the table used range. I can see the existing range but that will change as items are added to the table. So I thought code that can allow for the expanding table range.

  10. #10
    Valued Forum Contributor
    Join Date
    10-12-2021
    Location
    CT
    MS-Off Ver
    365
    Posts
    462

    Re: Show More Product Details Goes to Debug

    tables are considered defined ranges. you can find them in your name manager. They are referenced with brackets and behave similarly to a range().. there are exceptions.

  11. #11
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Re: Show More Product Details Goes to Debug

    Please see attached. I made a smaller range that does not include all rows. If you select an item within that range it list the one line for that item. However if the item is not in the selected range it lists all items in the code range that I put.

  12. #12
    Valued Forum Contributor
    Join Date
    10-12-2021
    Location
    CT
    MS-Off Ver
    365
    Posts
    462

    Re: Show More Product Details Goes to Debug

    * there are other ways to reference tables, but for example, your table on the report sheet can be referenced by [Table2]

  13. #13
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Re: Show More Product Details Goes to Debug

    This part instead of range make it table?

    Please Login or Register  to view this content.

  14. #14
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Re: Show More Product Details Goes to Debug

    This worked:

    Please Login or Register  to view this content.

  15. #15
    Banned User!
    Join Date
    08-02-2022
    Location
    US
    MS-Off Ver
    365
    Posts
    188

    Re: Show More Product Details Goes to Debug

    I cannot thank you enough for the help and the lessons.


  16. #16
    Valued Forum Contributor
    Join Date
    10-12-2021
    Location
    CT
    MS-Off Ver
    365
    Posts
    462

    Re: Show More Product Details Goes to Debug

    Haha I love when people come up with solutions on their own. Happy to help navigate you through this

+ 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. Replies: 2
    Last Post: 02-22-2018, 03:55 AM
  2. [SOLVED] How to find product details by entering its last 4 digit only
    By devawad in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-24-2017, 07:24 AM
  3. Display Vendor Details And Picture on Product Selection
    By MdYas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-26-2015, 08:00 AM
  4. [SOLVED] Top Ten shops product wise details
    By makinmomb in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-20-2015, 05:40 PM
  5. [SOLVED] how to add a macro to ask details to insert a new product on sheets i select?
    By jetlee in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-28-2013, 08:38 AM
  6. [SOLVED] Find Product Details in Another Sheet based on Product ID and Copy some Fields From there
    By kevalkothari in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-29-2012, 10:43 AM
  7. Lookup manufacturing details depending on product type
    By h0pp9z in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-19-2009, 12:59 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