JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. Keys.AddMacro Syntax Parameters Return Value Sub Keys.AddMacro( _ VirtKey As Byte, _ AccelKey As WORD, _ macroText As String) VirtKey [in] Type: Byte AccelKey [in] Type: WORD macroText [in] Type: String This function does not return a value. Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.