Graph.Paste

Pastes the contents of the clipboard into the graph.

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

SVB Example

Pasting a spreadsheet into a graph:

Option Base 1
Option Explicit
Sub Main
    Dim g As Graph
    Set g = ActiveGraph
    'get the contents of the active spreadsheet
    Dim s As Spreadsheet
    Set s = ActiveSpreadsheet
    s.SelectAll()
    s.CopyWithHeaders()
    'paste the spreadsheet into the graph
    G.Paste()
End Sub