VBA: ImportBudgetWritebackSheet
Created by Damien Zwillinger, Modified on Thu, 5 Oct, 2023 at 5:56 PM by Gabriel Michaud
Applies to:
- Velixo Classic
- Velixo NX (when used with Excel on Desktop)
Important: Visual Basic for Applications macros are not supported by Excel Online.
Purpose
Imports the provided Budget Writeback worksheet.
See Introduction to Velixo's VBA functions for general usage information.
Syntax
objVelixo.ImportBudgetWritebackSheet Worksheet
objVelixo A variable that represents an instance of the Velixo VBA functions class.
Parameters
Name | Description |
Worksheet | Required. Excel.Worksheet value that provides the Budget 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
Dim velixoObj As Velixo_Reports.VBA Dim budgetWritebackWorksheet As Excel.Worksheet Dim currentWorkbook As Excel.Workbook Set velixoObj = CreateObject("Velixo.Reports.Vba") Application.DisplayAlerts = False Set currentWorkbook = Application.ActiveWorkbook Set budgetWritebackWorksheet = currentWorkbook.Worksheets("Budget Writeback") velixoObj.ImportBudgetWritebackSheet budgetWritebackWorksheet Application.DisplayAlerts = True
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article