Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Prevent Formulas from updating
Hi, I have an excel spreadsheet with a number of cells that contain a formula
which uses a user defined macro that I have created to retrieve data from an access database and populate the cells. The problem I have is that the database is sitting in a confidential directory at work which I have access to so when the formulas are updated the data is retrieved correctly. When I send the excel file to staff who don't have access to the confidential directory, the cell values become blank I think because they user defined macro cannot retrieve the data from the database which is in the restricted directory. Is there any code that I can place in my macro to say that if you can't find the database value then don't alter the contents of the cell and leave the cell as it is? I'm using ADODB to connect to the excel db in my user defined macro Thanks. Simon |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Prevent previous entered data from updating | Excel Discussion (Misc queries) | |||
Prevent Chart from automatically updating references | Charts and Charting in Excel | |||
how to prevent Excel from reformatting a chart wen updating data? | Charts and Charting in Excel | |||
Prevent input of formulas | Excel Programming | |||
Prevent Formulas from Advancing | Excel Discussion (Misc queries) |