Hello everyone
My question is based on my previous thread (I can not post links but the name of the thread was 1330395-copy-and-paste-loop-depending-on-set-value) where jolivanes tried to help me but finally requested to open a new thread.
I have a catalog template with defined pages spanning over several cells/columns (I call them pages). This is fixed to 20 pages per catalog row.
Now I want to be able to adjust these 20 pages to whatever the end user wants. According to the users selected amount of pages, already existing catalog data should be moved to the appropriate page and the now not needed/empty pages should be deleted, or added if needed.
I will add a before and after sheet as an example. In the before sheet we have the original 20 pages setting, while in the after sheet I simulated a setting of 10 pages.
1. user sets page setting to 10
2. Pages after page 11 (if exist) get copied a row below (if data exists already on that row it has to be copied before)
3. Now empty pages (11 to 20) needs to be deleted
This should work in any direction (pages could be more than 20 for example) and the starting point is not always 20 pages.
jolivanes kindly provided the following code, but unfortunately I was not able to apply this to my template.
If anyone has any idea I would appreciate it.
Thanks in advance.
Please Login or Register to view this content.
Bookmarks