Inserts a hyperlink on the current selection.
Scripting Information
Command CreateLink execCommand vValue Required. String that specifies a URL. Providing an empty string will leave the URL blank. Applies to execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported,
C++ Information
Command group CGID_MSHTML Symbolic constant IDM_HYPERLINK User interface Yes. IOleCommandTarget::Exec parameters
pvaIn Required. VT_BSTR specifying a URL. Providing an empty string will leave the URL blank. pvaOut Not Applicable. Header file Mshtmcid.h Applies to IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus
Minimum Availability
Internet Explorer 4.0 and later