+ Reply to Thread
Results 1 to 3 of 3

listbox to table array continually missing last row

  1. #1
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,293

    listbox to table array continually missing last row

    Have a 7 column listbox that is written to a table in batches. Im not the best with arrays or table and cant figure why, no matter how many entries are in the listbox, when it is copied across the last entry is always missing. Tried many ways to do this
    Im pretty sure that the data is in the array
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by nigelog; 12-19-2018 at 01:19 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: listbox to table array continually missing last row

    Sounds as though it's a conflict between the index number for the listbox items and the Base you've chosen for VBA. i.e. If you've not set
    Option Base 1 then the default will be Base 0.

    However upload the workbook and describe how you use it so that we can understand further.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,293

    Re: listbox to table array continually missing last row

    Sorted Richard using row count to set array, thanks
    Please Login or Register  to view this content.

+ 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] ListBox Array creates blank ListBox item
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-16-2019, 12:33 PM
  2. [SOLVED] Table from Array pages, 1 row missing
    By incobart in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-21-2018, 09:18 PM
  3. [SOLVED] Display pivot Table in an Listbox from Array data
    By evertjvr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2015, 03:01 AM
  4. Macro to copy/paste same table continually in same worksheet
    By Katze12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2013, 03:49 PM
  5. [SOLVED] Populate Listbox with all rows of a dynamic array where elements of a single array match.
    By Tayque_J_Holmes in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 08-07-2012, 04:54 AM
  6. Vlookup Missing Table Array
    By artizan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2007, 03:26 PM
  7. [SOLVED] Missing vbTab in listbox
    By kurb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2005, 05:06 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