![]() MsgBox "MAC ID of this system : " & objAdapter. ("Select * from Win32_NetworkAdapterConfiguration Where IPEnabled = True") Set colAdapters = objWMIService.ExecQuery _ This code will generate MAC and display in a message box. Your coding is half done by the VBA editor itself. The MAC address of a windows system can be generated using following visual basic code in excel. In this chapter, you will learn where and how to write the code for a macro. You can comment and share with others if you have any other use of MAC.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |