beech pilot![]() Member ![]() Posts: 36 Joined: 11/1/2018 Location: Visalia ![]() | hello i get a compile error any help ***** Global *****: FileName: ; Line: 0; Char: 0; Error Number: -2; Microsoft (R) Visual Basic Compiler version 14.8.4084 for Visual Basic 2012 Copyright (c) Microsoft Corporation. All rights reserved. This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to Visual Basic 2012, which is no longer the latest version. For compilers that support newer versions of the Visual Basic programming language, see http://go.microsoft.com/fwlink/?LinkID=533241 C:\Program Files (x86)\Nirvana\OT2023\VBA\Temp\rp.txt(168) : error BC30451: 'C' is not declared. It may be inaccessible due to its protection level. If (Bar > (C.Length() - ((NumberHistoricalPivots * LookBack) + CurrLookBack(Bar)))) Then ~ C:\Program Files (x86)\Nirvana\OT2023\VBA\Temp\rp.txt(207) : error BC30451: 'C' is not declared. It may be inaccessible due to its protection level. ElseIf ((Bar > (C.Length() - CurrLookBack(Bar))) And (afBARHOUR_23(Bar - 1) <> 23)) Then ~ Compiler return value: 1 Build failed. |