Hi Lax,
I made the following changes in the attached file:
a. Changed row numbers in RevertToOriginalData() per post #18.
b. Added 'Uninvited to Sheet 'Item Participants'.
c. Only Headers are included in Groups.
To add data to Groups, set the CONDITIONAL COMPILATION CONSTANT to 'True' on line 660 in Module ModCoachAuction. Line number is approximate (was correct when this was written).
Code Excerpt for CONDITIONAL COMPILATION CONSTANT:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Change Group (Outline) on Sheets
'
'Set the CONDITIONAL COMPILATION CONSTANT below to 'True' to have GROUPS 'include' DATA
'Set the CONDITIONAL COMPILATION CONSTANT below to 'False' to have Groups 'exclude' DATA
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
#Const NEED_DATA_IN_GROUPS = False 'Set this to 'True' or 'False' as required
#If NEED_DATA_IN_GROUPS = True Then
'Add Data to the Groups in additional to the Headers
On Error Resume Next
iLastRow = wsPricing.Range("A:A").Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
wsPricing.Rows("3:" & iLastRow).OutlineLevel = 2
iLastRow = wsParticipants.Range("A:A").Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
wsParticipants.Rows("3:" & iLastRow).OutlineLevel = 2
iLastRow = wsItemParticipants.Range("A:A").Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
wsItemParticipants.Rows("3:" & iLastRow).OutlineLevel = 2
On Error GoTo 0
#Else
'Headers ONLY in Groups
On Error Resume Next
wsPricing.Rows("3:17").OutlineLevel = 2
wsParticipants.Rows("3:245").OutlineLevel = 2
wsItemParticipants.Rows("3:4").OutlineLevel = 2
On Error GoTo 0
#End If
NOTE: SCANMARKET duplicate on lines 146 and 147 (P990040 BETTER MOTORING SERVICES)
Lewis
Bookmarks