Get pivot table connection name by formula or udf

alsacdb

New Member
Joined
May 31, 2016
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Is there a way to use a formula or UDF to return the name of a pivot table connection? The connection is to a locally saved *.csv file. I want it because I want to capture the date that makes up part of the file name. The connection changes weekly as the file is updated to capture new data. The filename changes as a date stamp is part of the name. The files are saved in a directory of folders by date so linking to name would not work since all files are in different folders. I am running 365 apps for enterprise in a windows 10 environment. Any help greatly appreciated. Here is one of the file names for reference: IMCNA_SWSNonInvoiced_20220314_125740 only the last part of the file name ever changes.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,215,425
Messages
6,124,826
Members
449,190
Latest member
rscraig11

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