Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database connectivity issue at code #3

Open
repath opened this issue Aug 22, 2018 · 0 comments
Open

database connectivity issue at code #3

repath opened this issue Aug 22, 2018 · 0 comments

Comments

@repath
Copy link

repath commented Aug 22, 2018

Dear Djoualla,
I tried to download and open .xer file from the given command button., after selecting the file, I get an error labelled "catastrophic failure" - Runtime error "-2147418113" and has a debug option, when I clicked on debug option, the following is the area displayed: "cnn.open" is where the debugger stopped.
Can you please help.

cnn.ConnectionString = "Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)};DBQ=" & _
ActiveWorkbook.Path & Application.PathSeparator & ActiveWorkbook.Name & ";"

**cnn.Open**
Application.StatusBar = "Select Project"
With Worksheets("dashboard")
    .Cells(1, 40) = "Project_Name"
    .Cells(1, 39) = "Project_ID"

with regards and thanks,
Repath Athyala.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant