+ Reply to Thread
Results 1 to 3 of 3

Paste Table based on CHOOSE value

  1. #1
    Forum Contributor
    Join Date
    10-08-2012
    Location
    San Clemente, California
    MS-Off Ver
    Office365
    Posts
    383

    Paste Table based on CHOOSE value

    Good Morning,

    My very large document uses the CHOOSE function in many places to paste content based on the value of a COMBOBOX at the beginning of the document.

    My problem is that I now need to paste an entire table for a certain CHOOSE function value. Documentation for the CHOOSE function allows reference to a range of cells such as A1:B12, however, I cannot get it to paste the table in the document.

    Any suggestions? Is there perhaps another solution that I have overlooked?

    Thanks in advance for your help!

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Paste Table based on CHOOSE value

    Post a sample workbook with a proposed layout of the solution.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Contributor
    Join Date
    10-08-2012
    Location
    San Clemente, California
    MS-Off Ver
    Office365
    Posts
    383

    Re: Paste Table based on CHOOSE value

    Hi Mike,

    I'm sorry but that would be very involved because I would have to create a sample file. I will try to explain in more detail.

    The main document is on Sheet1.
    The COMBOBOX is used by the user to choose a name.
    The number of that choice is the input value of CHOOSE.
    In most cases, a word or line of text is pasted as the result of the CHOOSE function. Works perfectly.
    In this case, instead of a line of text I need to paste an entire table, from Sheet2, cells A1:B12.

    In practice, if the user chooses any of 15 names, the CHOOSE function pastes a corresponding value from the Sheet2 reference area. If the user selects the 16th name then I need to paste that table instead of a word or line of text.

    Does this help, Mike?

    Thanks for checking this out.

+ 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. Macro to copy a table and paste in another table (based on certain conditions)
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-22-2013, 01:14 PM
  2. Cut and paste row(s) from a table to another table based on criterion
    By olivierpbeland in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-20-2012, 09:09 AM
  3. Select destination and press Enter or choose Paste
    By cdmg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-30-2010, 03:25 PM
  4. Named formulas in CHOOSE need to be Relative references when paste
    By bill ch in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-10-2006, 11:20 AM
  5. Copy table information and paste sorted based on specific field.
    By Paul in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2005, 12:05 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