Report.Paste

Pastes the contents of the Clipboard into the report.

Syntax Parameters Return value
- This function has no parameters. This function does not return a value.

SVB Example

Pasting a spreadsheet's content into a report:

Option Base 1
Option Explicit
Sub Main
    'get the contents of the active spreadsheet
    ActiveSpreadsheet.SelectAll()
    ActiveSpreadsheet.CopyWithHeaders()
    'paste the spreadsheet into the report
    ActiveReport.Paste()
End Sub