Hello All,
Since this is my first post, a little introduction is in order. My name is Fady and I work in the media industry in the Middle East. Its a privilege to be a member of a good bunch of excel brainiacs *however, I'm quickly finding out I may not be one . YET! )
Anyways, here is my first post/problem. I would imagine its pretty simple but I am not able to crack this nut for some reason.
I have a MS Access .accdb file which I take around with me to different desktops.
I have one excel file .xlsm file which I use to create dashboards.
My problem is whenever I take these two files to another PC, I have to locate the same database file for each pivot table (of which I have 94 in the excel, btw).
So I created the following:
Then I try the following:Please Login or Register to view this content.
But the problem is that while refreshing, excel gives me a pop-up window saying "C:\blah.accdb" is not accessible. would you like to connect to "K:\blah.accdb" instead ? YES NO CANCEL". earlier the file was C:\blah.accdb but in the first function I had the connection string changed and yet when I refresh it asks me for confirmation. What I want it to do instead is just simply accept the new string and refresh it.Please Login or Register to view this content.
I know I am missing some sort of programming flow without which I just simply cannot access another DB. But what is it? Or is there something else? You help is appreciated! Thanks.
Bookmarks