Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2003 Disabling "Refresh All" functionnality

Hi everyone,

Hopefully it is not a stupid question but I really searched before posting
it...
In External Data toolbar there is a "Refresh All" option.
I would like to disable it but it should still be possible to refresh
individual
queries.

Thank you in advance for your help !

Jérôme
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Excel 2003 Disabling "Refresh All" functionnality

guyzmofr wrote on 6/16/2010 :
Hi everyone,

Hopefully it is not a stupid question but I really searched before posting
it...
In External Data toolbar there is a "Refresh All" option.
I would like to disable it but it should still be possible to refresh
individual
queries.

Thank you in advance for your help !

Jérôme


You'd have to set the control's Enabled property to FALSE when
appropriate, then when necessary set it to TRUE -or- provide a button
that executes its procedure (while keeping it disabled).

To disable:
Commandbars("External Data").Controls("Refresh All").Enabled = False

To execute its procedu
Commandbars("External Data").Controls("Refresh All").Execute

HTH

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling "cut" function - version 2003/2007 wlam Excel Worksheet Functions 1 April 7th 10 11:40 AM
Disabling the "&[Time]" or "&[T]" in Excel headers and footers John Mirabella Excel Discussion (Misc queries) 2 January 15th 10 02:54 PM
having trouble disabling "save", "save as" (2003) dman[_2_] Excel Programming 6 January 23rd 08 06:20 PM
Excel 2003 VBA - "Maximizing" Window & "Calculating" Workbook JingleRock Excel Programming 0 April 25th 06 05:04 AM
Disabling "SAVE AS" option under "File" Bidyut Bhattacharjee Excel Discussion (Misc queries) 3 March 22nd 06 06:35 PM


All times are GMT +1. The time now is 02:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"