Skip to main content
Skip table of contents

VBA: ImportGLWritebackSheet

Visual Basic for Applications macros are not supported by Excel Online.

Purpose

Imports the provided GL Writeback worksheet.

See Introduction to Velixo's VBA functions for general usage information.

Syntax

CODE
objVelixo.ImportGLWritebackSheet Worksheet

objVelixo - a variable that represents an instance of the Velixo VBA functions class.

Arguments

Name

Description

Worksheet

Required. Excel.Worksheet value that provides the GL Writeback worksheet to import.

Remarks

If Application.DisplayAlerts is set to FALSE, any message boxes will be suppressed, and warnings and errors will be returned as exceptions. This is especially useful for a fully unattended automation. Once completed, set back DisplayAlerts to TRUE

Example

CODE
Dim velixoObj As Velixo_Reports.VBA
Dim glWritebackWorksheet As Excel.Worksheet
Dim currentWorkbook As Excel.Workbook

Set velixoObj = CreateObject("Velixo.Reports.Vba")

Application.DisplayAlerts = False

Set currentWorkbook = Application.ActiveWorkbook
Set glWritebackWorksheet = currentWorkbook.Worksheets("GL Writeback")

velixoObj.ImportGLWritebackSheet glWritebackWorksheet

Application.DisplayAlerts = True

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.