79690043

Date: 2025-07-04 10:38:09
Score: 1
Natty:
Report link

If you want a one-liner, no extra Sub, Function or Dim, this is it (replace S with your string or variable):

CreateObject("htmlfile").ParentWindow.ClipboardData.SetData "text", CVar(S)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mcortese