You can cut or copy any expression or an entire formula and paste it into another formula display. Use the cut, copy, and paste shortcut commands or right-click a highlighted part of the formula and select Cut, Copy, or Paste from the menu. The following aspects apply when you cut, copy, and paste a formula:
Note: Press the Shift key on your keyboard, and then click the red triangle to reveal a command called Copy As SAS Formula.