Workbook Connections with new user account help

Maxton

New Member
Joined
Jul 16, 2010
Messages
6
Hey guys,

I'm currently starting a new position at a firm and I'm taking over the previous worker's tasks. She wrote an excel model to automate a few daily tasks but it seems to only work for her user account. I need to make this model work for every user.

So the problem is, she references a .txt file on her desktop, but we don't have access to that. So instead I tweaked the code to reference another common folder. However, it screws up at this line of code:

Selection.QueryTable.Refresh BackgroundQuery:=False

I'm not too sure how the QueryTable works, but I believe that it is because the querytable is referencing her c:\\document settings\desktop, as I see in the "Workbook Connections" option under data. So I would need to have the references to a shared folder... Problem is that she has over 100 connections that are referencing her desktop I think, and each one is referencing a specific portion of the .txt file. Is there any way to change the Workbook Connections and all the references to the current account?

Thanks,

Maxton
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,224,517
Messages
6,179,233
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top