Open fabrizionastri opened 1 year ago
I got the same issue.
When I tried to import VBA code from Excel, the .bas file was not generated in vba-files folder. It was placed in: C:\Windows\Temp\xvba_files.
It should be generated in project_folder/vba-files.
Environment: 1.Win10, Office 2019 2.Latest VS code (I downloaded today)
@fabrizionastri Did you fix it? It seems a bug. I've tried various versions of this extension, it has the same issue. Very appreciated if someone could give me a hint.
No I did not fix it.
@Aeraphe : Hello, are you aware of this issue ? Are you still mainting this extension ? I would appreciate any help.
@word-x @fabrizionastri Did you fix it? I've the same problem.
Issue Description: When using the "XVBA - Live Server VBA" to edit VBA code for an Access database, the files aren't placed in the directory specified in the
config.json
file:"vba_folder": "vba-files"
.vba-files
folder are sucessfully exported to Access, and I can find them in the Access VBA Editor.C:\Users\<USERNAME>\AppData\Local\Temp
folder.Steps to Reproduce:
C:\Users\<USERNAME>\Repos\\MSAccess-XVBA-Test
config.json
file:vba-files
directory exists in the root folder of the repo and is empty.Open the "index.accdb" database, and create a new modul with a VBA subroutine, for example:
vba-files
directory.logs\excel_import.log
file and find the following line: "28/08/2023 12:56:50 - DEBUG:Export VBA files from Access to C:\Users\This code runs successfully when launched from within Access, but not when launched within VSCode
Expected Behavior: The VBA files should be imported from Access to the
vba-files
directory in VSCode as specified inconfig.json
. Any changes made there should then be exported back to the Access databaseActual Behavior: The VBA files are imported in
C:\Users\<USERNAME>\AppData\Local\Temp
folder instead ofvba-files
directory.Additional Information:
vba-files
directory exists.