Hi.
i get this error when i try to run this function. Compile error: procedure too large.
Im probably over the 64k limit(?), but i need to run this code. It inserts components into a list based on selections from a userform. the code in the attachment is only 1/20 of the total code but it is this spesific function that chrashes.
I need some help on how to make it run. if i can split it some how, or can i use some procedure inside the function to make it run?
i tried to split it at case 19 with a new function, but then it would not work past case 19.
im new to VBA and im lost.