VBA: ImportProjectForecastSheet

Created by Damien Zwillinger, Modified on Thu, 05 Oct 2023 at 05: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.


Imports the provided Project Budget Forecast worksheet.


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



VelixoObject.ImportProjectForecastSheet Worksheet

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






Required. An Excel.Worksheet value that provides the Project Forecast Writeback worksheet to import.


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 Application.DisplayAlerts to True.



Dim VelixoObject As Velixo_Reports.VBA
Dim ProjectForecastWritebackWorksheet As Excel.Worksheet
Dim CurrentWorkbook As Excel.Workbook

Set VelixoObject = CreateObject("Velixo.Reports.Vba")
Set CurrentWorkbook = Application.ActiveWorkbook
Set ProjectForecastWritebackWorksheet = currentWorkbook.Worksheets("Project Forecast Writeback")

Application.DisplayAlerts = False

VelixoObject.ImportProjectForecastSheet ProjectForecastWritebackWorksheet

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

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article