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: 367
Default Locking a worksheet during the reading of it

Hello All!

I have an Excel 2003 workbook that contains Exchange Rates that is
automatically updated by an external program. I have used VSTO 2005 to
create an application that reads the updated Exchange Rates and saves them to
a database using a webservice.

The problem that I'm having is that when I'm reading my values, if any of
the cells change, my application crashes. Is there a way to lock the values
of the worksheet so that they don't get changed while I'm trying to read them?


 
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
Reading Cells from One Worksheet in another Mike Setting up and Configuration of Excel 2 July 19th 07 08:26 PM
Reading Cells In another worksheet mike Excel Discussion (Misc queries) 1 June 7th 07 03:09 PM
Reading a worksheet from a specified workbook [email protected] Excel Worksheet Functions 1 December 8th 06 12:45 AM
Locking a Worksheet at_a_loss Excel Worksheet Functions 1 February 24th 06 06:04 PM
worksheet protection reading neeraj New Users to Excel 7 September 21st 05 07:13 AM


All times are GMT +1. The time now is 10:15 PM.

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"