re: do it my way
I can't recall anything that suppresses that message.
It would be nice.
You can do your own sort, by adding the vba code below to a
standard module in the store sales workbook.
Add a button to the quick access toolbar to run the code.
The code only sorts one column and only sorts ascending.
Select the data and click the button.
'---
Sub NLtL_BubbleSort()
'Nothing Left to Lose - March 2021
Dim First As Long
Dim Last As Long
Dim rng As Excel.Range
Dim i As Long
Dim j As Long
Dim Temp As Variant
Dim arrList As Variant
Set rng = Excel.Selection
If rng.Columns.Count > 1 Then
VBA.MsgBox " Can only sort one column.", vbInformation, "Limited Sort"
Else
arrList = rng.Value
First = LBound(arrList, 1)
Last = UBound(arrList, 1)
For i = First To (Last - 1)
For j = Last To (i + 1) Step -1
If arrList(i, 1) > arrList(j, 1) Then
Temp = arrList(j, 1)
arrList(j, 1) = arrList(i, 1)
arrList(i, 1) = Temp
End If
Next j
Next i
rng.Value = arrList
End If
End Sub
'---
NLtL https://1drv.ms/u/s!Au8Lyt79SOuhiXoNjAh-_-zLi49O Free: Add_Table of Contents, Calculate Payments, Custom_Functions, Professional_Compare, USA Lottery Numbers