Multipage - Page Index 0 not the first page after adding pages through code

  • I have a multipage which I have successfully filled with code based on excel table.


    Where there are more than one page to display, the last page always ends up being the first in the order of tabs, even though its index is something other than 0.

    For instance:

    4 pages - Index 0, 1, 2, 3

    Displays pages in multipage in the order of 3, 0, 1, 2

    i.e. the last page always shows up on the first tab, even though its index is not 0

    It is like the code stops and displays the multipage without the final update (makes me think it is something to do with the AfterUpdate, which I haven't put any code into)


    Code is below:


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!