View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.charting
pgarcia pgarcia is offline
external usenet poster
 
Posts: 304
Default Refresh all but 1st sheet

Should't this work? Also, it ask to inmport text, how to say "yes" evertime?
Text name will be different ever time.

Sub Refreshall ()
For i = 2 To Sheets.Count
With Active.Sheet
Selection.QueryTable.Refresh BackgroundQuery:=False
Next i
End Sub

Thanks