G'Day All, I need some help from the masters please.
Explanation:
Worksheet "Sheet1" contains a listing of multiple addresses in columns containing "City" and "Street". This worksheet is protected to prevent users from changing the format,
layout, etc; plus to protect command buttons used for navigation and initiating other macros.
Worksheet "Sheet2" contains only temporary data (sourced from Sheet1) that is used as a lookup from a dropdown box.
This macro performs the following:
Sheet2 - cleared of all previous data
Sheet1 - unprotect sheet to allow for next actions to take place
Sheet1 - filters removed to ensure all data is displayed
Sheet1 - sort data to incorporate any new entries added since last sort
Sheet1 - because there are duplicate "cities" in the City column, the entries are filtered into unique values (to produce only one instance of each City), then copied to Sheet2.
This filtered list now on Sheet2 is later referenced by a dropdown box, with the output being displayed on a Userform.
Sheet1 - autofilter is restored and is protection turned back on
The macro works perfectly until the workbook is SHARED. Then it crashes due to the following:![]()
Please Login or Register to view this content.
Sheet PROTECTION cannot be turned OFF and ON when in shared state
The FILTERING to unique values cannot be performed when in shared state
Question: Is there another way to do these actions so that everything works when the workbook is in a shared state?
Bookmarks