Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: VB6 FPS Locking a cell based on a value.

$
0
0

Hello,

To lock a particular cell you write the code as follows:

fpSpread1.Col = 1
fpSpread1.Col2 = 1
fpSpread1.Row = 1
fpSpread1.Row2 = 1
fpSpread1.BlockMode = True
' Lock cells
fpSpread1.Lock = True
' Protect the cells from being edited
fpSpread1.Protect = True
' Turn block mode off
fpSpread1.BlockMode = False

Thanks,
Deepak Sharma


Viewing all articles
Browse latest Browse all 14170

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>