If you do not want to include the row headers when you move data, and you do not want data pasted into the selected row headers, call the SSSetClipboardOptions function and set the wOptions parameter of the function to SS_CLIP_NOHEADERS.
If you want to include the row headers when you move data, but you do not want data pasted into the selected row headers, call the SSSetClipboardOptions function and set the wOptions parameter of the function to SS_CLIP_COPYROWHEADERS.
If you do not want to include the row headers when you move data, but you do want data to be pasted into the selected row headers, call the SSSetClipboardOptions function and set the wOptions parameter of the function to SS_CLIP_PASTEROWHEADERS.
If you want to include the column headers when you move data, but you do not want data pasted into the selected column headers, call the SSSetClipboardOptions function and set the wOptions parameter of the function to SS_CLIP_COPYCOLHEADERS.
If you do not want to include the column headers when you move data, but you do want data to be pasted into the selected column headers, call the SSSetClipboardOptions function and set the wOptions parameter of the function to SS_CLIP_PASTECOLHEADERS.
If you want to include column and row headers when you move data and you want data to be pasted into the selected column and row headers, call the SSSetClipboardOptions function and set the wOptions parameter of the function to SS_CLIP_COPYPASTEALLHEADERS.
If you want a combination of cutting and pasting column and row headers, call the SSSetClipboardOptions function and Or the appropriate SS_CLIP_COPYROWHEADERS, SS_CLIP_PASTEROWHEADERS, SS_CLIP_COPYCOLHEADERS, and SS_CLIP_PASTECOLHEADERS values of the wOptions parameter of the function.
If the SSSetBool function's SSB_AUTOCLIPBOARD boolean is set to TRUE, users can use the Clipboard shortcut keys to copy and paste data, or call the SSClipboardCut and SSClipboardPaste functions.