Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Dialog Based Upon Cell Properties

I need to fill some cells using results from a custom dialog. I need to use
a different dialog with some cells and need a way to differentiate which will
be selected based upon the cell. This needs to be a bit dynamic so that it
can be changed if the format of the form is changed for some reason to
accomodate the users need. Can this be done based upon a custom property of
the cell or cells of interest?

Hope I was clear.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,365
Default Dialog Based Upon Cell Properties

Clear enough to give you the basic answer: YES this can be done.

Without more info, a more detailed answer is impossible to give. Look at
the _SelectionChange() event for worksheets to use to determine what cell(s)
have been selected, which can be fine tuned to tell you whether it's a cell
of 'interest' or not, and then you can examine the properties of the cell to
determine what further action to take. Once you get inside of the
_SelectionChange() event you can use the Application.Intersect procedure to
determine which cell(s) have been selected.

As for making this all dynamic to permit easy revision of the layout of the
worksheet, look into using Named Ranges to identify your cell(s) of interest.

"Edd" wrote:

I need to fill some cells using results from a custom dialog. I need to use
a different dialog with some cells and need a way to differentiate which will
be selected based upon the cell. This needs to be a bit dynamic so that it
can be changed if the format of the form is changed for some reason to
accomodate the users need. Can this be done based upon a custom property of
the cell or cells of interest?

Hope I was clear.

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
Properties dialog box opens instead of a workbook Daniel Forthman Excel Discussion (Misc queries) 1 August 14th 07 02:52 PM
RowSource in Properties Dialog continued...... Geoff Excel Programming 4 June 2nd 06 05:52 PM
VBA: how to... cell properties has to change based on a condition will99 Excel Programming 3 August 30th 05 05:51 PM
Form Controls; setting properties based on cell values Glenn Ray[_3_] Excel Programming 4 April 17th 05 04:33 AM
Cell properties dialog Jos Vens[_2_] Excel Programming 5 April 1st 05 12:00 AM


All times are GMT +1. The time now is 06:53 PM.

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

About Us

"It's about Microsoft Excel"