XML Comments

RonPaii

Active member
Local time
Today, 12:47
Joined
Jul 16, 2025
Messages
236
I have been adding XML style comments to my procedure headers for a more structured comment system. It would be great if MS could enhance VBA, to use them in intellisence like in .NET.

Code:
''' <summary>
''' Check if user is member of an Active Directory group
''' </summary>
''' <param name="AdGroupName">Name of AD group to check.</param>
''' <param name="UserWinID">User ID to check, Current if empty.</param>
''' <param name="oUseConnection">Existing connection, else use new.</param>
''' <returns>True if user in group and no error.</returns>
Public Function ADGroupMember( _
                ByVal AdGroupName As String, _
                Optional ByVal UserWinID As String = vbNullString, _
                Optional oUseConnection As ADODB.Connection = Nothing) As Boolean
 

Users who are viewing this thread

Back
Top Bottom