LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Refreshing an external query on a protected sheet

Hi,

I am building a spreadsheet which has an external query which should
refresh when a parameter changes.

The sheet is being used as a form by users so I want to protect the
sheet and have the query hidden - the query result feeds valid entries
on another cell.

The problem I have is that, with the query setup to refresh when the
paramter changes, it is unable to do so as the sheet is protected.

Can anyone tell me the vb I can use to unprotect the sheet, refresh the
query, then protect the sheet when a particular value changes.

Note that there are multiple cells and queries on the same sheet that I
need to be able to do this with.

Many thanks,

Gavin



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

 
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
Drop Formulas when refreshing data from external source Indy-Joe Excel Discussion (Misc queries) 1 September 25th 07 01:38 AM
Import External Text Data and Refreshing Problem Douglas Excel Worksheet Functions 0 August 20th 07 09:30 AM
Refreshing external data breaks sorting of function columns BNick Excel Discussion (Misc queries) 0 October 2nd 06 06:46 PM
Query to external data not refreshing R Ormerod Excel Discussion (Misc queries) 1 April 1st 05 08:39 PM
refresh external data on a protected sheet ajf Excel Discussion (Misc queries) 0 March 11th 05 09:01 AM


All times are GMT +1. The time now is 01:13 AM.

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

About Us

"It's about Microsoft Excel"