Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
After connecting to BusinessVision tables and returning data to Excel, my VBA code in excel suddenly became un-compileable. Simple code syntax such as declaring a variable was suddenly invalid. I would comment out the offending lines to see what else failed, and stopped after about the 12th code failure. The code compiles fine in numerous environments and runs in Excel 2000, 2003 & 2007 against Pervasive, MS Access, SQL Server, My SQL and Oracle databases. The error occurs just after manually querying BusinessVision 7.3 with Pervasive 10 database with Excel for the first time. Fix Attempts include: - Uninstalling/re-installing Excel - removing and adding the System DSN files in the ODBC Drivers - uninstalling BusinessVision and pervasive - applying all updates to Excel, BusinessVision and the OS. none worked I then started with a clean windows server, installed excel, then installed BusinessVision. the VBA code still compiled. I then added the System DSN file. the VBA code still compiled fine. I then performed a manual database query to retrieve data from the AR - Transaction tables, which was successful. I then tried to compile the VBA code and it failed - miserably... :( thoughts? Thank you! -- Simon Shaw, CA | President | Kode101 Inc. www.kode101.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Prevent function errors caused by cutting & paste or drag & drop | Excel Worksheet Functions | |||
FORMULA ERRORS CAUSED BY SPACEBAR | Excel Worksheet Functions | |||
Uninstall of mappoint has caused errors with excel | Excel Discussion (Misc queries) | |||
Compile Errors with Different versions of Excel | Excel Discussion (Misc queries) | |||
Excel 97 Macro Compile Errors | Excel Programming |