Hi folks, daycartes here. My, this is a busy forum.
I am engaging on a rather large spreadsheet that is going to have 10-15 users. I want to use the "Allow Users to Edit Ranges" function.
Now, I have already studied the named range advice, however the range that I want to allow is not in a complete block but spans several non contiguous rows eg row 6, row 12, row 194 and will include about 30 rows from within up to about 400 rows. The range is not random but depends on another column so as in the example above row 6,12 and 194 will be chosen because they correspond to DS in column 4 rows 6,12 and 194.
I could probably separate the ranges in the "Allow Users to Edit Ranges" however the rows could change over time so it needs to be accomplished dynamically.I think that I need to use VBA.
I can select the sheet using VBA and also filter out the column containing DS so that I am left with the non contiguous rows but I need the VBA code to select the appropriate range.
Does anyone have the VBA code for "Allow Users to Edit Ranges"?
Many thanks in advance.
I am engaging on a rather large spreadsheet that is going to have 10-15 users. I want to use the "Allow Users to Edit Ranges" function.
Now, I have already studied the named range advice, however the range that I want to allow is not in a complete block but spans several non contiguous rows eg row 6, row 12, row 194 and will include about 30 rows from within up to about 400 rows. The range is not random but depends on another column so as in the example above row 6,12 and 194 will be chosen because they correspond to DS in column 4 rows 6,12 and 194.
I could probably separate the ranges in the "Allow Users to Edit Ranges" however the rows could change over time so it needs to be accomplished dynamically.I think that I need to use VBA.
I can select the sheet using VBA and also filter out the column containing DS so that I am left with the non contiguous rows but I need the VBA code to select the appropriate range.
Does anyone have the VBA code for "Allow Users to Edit Ranges"?
Many thanks in advance.