Retrieves the name of the current company.
Sub CompanyName As String
CompanyName returns the CompanyName of the company that was opened by OpenCompany. The returned value is a string containing the current CompanyName. If OpenCompany has not been called, the function returns an empty string.
You cannot select another current CompanyName with this function. You must use CloseCompany and OpenCompany to change to another company. Companies can only be created and deleted in C/SIDE.