View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
xlbo[_2_] xlbo[_2_] is offline
external usenet poster
 
Posts: 7
Default Pivottable database connections

something like this should work - or at least give yousome ideas..

for each sh in thisworkbook.worksheet
for each qt in sh.querytable
msgbox qt.connectio
qt.connection = "Your new connection string
nex
next