_Application.DeleteCustomList(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes a custom list.
public:
void DeleteCustomList(int ListNum);
public void DeleteCustomList (int ListNum);
Public Sub DeleteCustomList (ListNum As Integer)
Parameters
- ListNum
- Int32
Required Integer. The custom list number. This number must be greater than or equal to 5 (Microsoft Excel has four built-in custom lists that cannot be deleted).
Remarks
This method generates an error if the list number is less than 5 or if there's no matching custom list.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for