Hi
I've written spreadsheet which reads and writes data from an access database.
I think I've got some poor code though - when I click on the data Connections in the Data toolbar it takes an age to load and has thousands of entries - I think this is slowing down the whole workbook (opening and closing times are very lengthy)
Does anyone know a method by which I can close these en masse using VBA?
I'm guessing there's a for each collection I can use but I'm not sure which one
Thanks
xigrix
I've written spreadsheet which reads and writes data from an access database.
I think I've got some poor code though - when I click on the data Connections in the Data toolbar it takes an age to load and has thousands of entries - I think this is slowing down the whole workbook (opening and closing times are very lengthy)
Does anyone know a method by which I can close these en masse using VBA?
I'm guessing there's a for each collection I can use but I'm not sure which one
Thanks
xigrix