Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
stm stm is offline
external usenet poster
 
Posts: 1
Default How to control the user can or cannot select? Selection filter?

I have basically a C# application using Excel as a calculation engine. The
user is asked to identify where are the input and output data in an excel
sheet by selecting cells, rows and columns. So there are some "Pick a row",
"Pick a column", "Pick a unique cell" buttons that are managing the following
selection process:
1) show excel sheet to the user
2) wait for a selectionChange event
3) process the selection and hide excel immediately

Problem, the user is always able to select rows when I want a unique cell,
col when I need a row, etc. I can workaround that, but it becomes tricky.

So, is there a way to restrict the kind of item the user can pick to: one
cell, several cells, one row, seveal rows, one col, 2 cols, etc?
Thanks
--
STM
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
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du TC Excel Worksheet Functions 1 May 12th 05 02:06 AM
Help! Loss of Tab control/cell selection problem jkitzy Excel Programming 2 January 13th 05 06:21 PM
Excel range selection tool/control? amos[_2_] Excel Programming 4 December 21st 04 08:47 PM
User selection Samir[_2_] Excel Programming 3 January 7th 04 03:06 PM


All times are GMT +1. The time now is 12:22 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"