ajhez
05-15-2017, 07:16 AM
Hi all
I have a document which is populated by a userform.
The date inputted in the userform is then used to fill in the respective bookmarks within the document.
One element of document is a number of different schedules at the end. The user will select from a combobox the relevant schedule which needs to be attached and all of the other schedules will need to be deleted.
E.g. User selects "S1" then Schedule 1 will remain and Schedules 2, 3, 4, 5 will all be deleted.
Each schedule has a bookmark which covers the entire schedule - so I want to have it that when "S1" is selected it will delete the bookmarks (and the contents of) Schedules 2, 3, 4, 5 or when "S4" is selcted it will delete the bookmarks (and contents of) Schedules 1, 2, 3 and 5.
Any ideas?
Thanks,
AJH
I have a document which is populated by a userform.
The date inputted in the userform is then used to fill in the respective bookmarks within the document.
One element of document is a number of different schedules at the end. The user will select from a combobox the relevant schedule which needs to be attached and all of the other schedules will need to be deleted.
E.g. User selects "S1" then Schedule 1 will remain and Schedules 2, 3, 4, 5 will all be deleted.
Each schedule has a bookmark which covers the entire schedule - so I want to have it that when "S1" is selected it will delete the bookmarks (and the contents of) Schedules 2, 3, 4, 5 or when "S4" is selcted it will delete the bookmarks (and contents of) Schedules 1, 2, 3 and 5.
Any ideas?
Thanks,
AJH