Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 542
Default SETTING FOCUS TO A CELL IF SINGLE CLICKED

hi all, probably a quick question but i cant figure it out.....

how do you set the focus to a cell if it is single clicked?

here is my situation. I need to be able to single click on a cell and make
it set the focus as if it were double clicked. the criteria is that the
selection.interior.colorindex = 2 and this color is only in one part of my
spreadsheet. any help would be great, thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default SETTING FOCUS TO A CELL IF SINGLE CLICKED

Hi James, your post is a little confusing since a single click on a cell does
set focus to that cell. I don't understand the connection to the
selection.Interiou.ColorIndex = 2, unless you are somehow trying to use a
worksheet change event to change the cell color when clicked.. Maybe you
could explain what you are tryiung to accomplish and we can give some
meaningful suggestions.

"James" wrote:

hi all, probably a quick question but i cant figure it out.....

how do you set the focus to a cell if it is single clicked?

here is my situation. I need to be able to single click on a cell and make
it set the focus as if it were double clicked. the criteria is that the
selection.interior.colorindex = 2 and this color is only in one part of my
spreadsheet. any help would be great, thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 542
Default SETTING FOCUS TO A CELL IF SINGLE CLICKED

ok, when you double click a cell, the cursor blinks and you can type stuff in
this is what i meant by "set focus". I need it to do this when you SINGLE
click a certain column (ie. column that has colorindex of 2). the reason is
because i have merged cells and when copying text into it without double
clicking it wont let you. I just want to get rid of this paste error

"JLGWhiz" wrote:

Hi James, your post is a little confusing since a single click on a cell does
set focus to that cell. I don't understand the connection to the
selection.Interiou.ColorIndex = 2, unless you are somehow trying to use a
worksheet change event to change the cell color when clicked.. Maybe you
could explain what you are tryiung to accomplish and we can give some
meaningful suggestions.

"James" wrote:

hi all, probably a quick question but i cant figure it out.....

how do you set the focus to a cell if it is single clicked?

here is my situation. I need to be able to single click on a cell and make
it set the focus as if it were double clicked. the criteria is that the
selection.interior.colorindex = 2 and this color is only in one part of my
spreadsheet. any help would be great, thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default SETTING FOCUS TO A CELL IF SINGLE CLICKED

I believe that goes beyond the scope of VBA. That gets into the application
design properties. Beyond my expertise if Excel does not provide a user
interface to change the cell activate event.

"James" wrote:

ok, when you double click a cell, the cursor blinks and you can type stuff in
this is what i meant by "set focus". I need it to do this when you SINGLE
click a certain column (ie. column that has colorindex of 2). the reason is
because i have merged cells and when copying text into it without double
clicking it wont let you. I just want to get rid of this paste error

"JLGWhiz" wrote:

Hi James, your post is a little confusing since a single click on a cell does
set focus to that cell. I don't understand the connection to the
selection.Interiou.ColorIndex = 2, unless you are somehow trying to use a
worksheet change event to change the cell color when clicked.. Maybe you
could explain what you are tryiung to accomplish and we can give some
meaningful suggestions.

"James" wrote:

hi all, probably a quick question but i cant figure it out.....

how do you set the focus to a cell if it is single clicked?

here is my situation. I need to be able to single click on a cell and make
it set the focus as if it were double clicked. the criteria is that the
selection.interior.colorindex = 2 and this color is only in one part of my
spreadsheet. any help would be great, thanks

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
Setting an Icon Set conditional format for a single cell??? MikeV Excel Discussion (Misc queries) 4 February 14th 08 12:20 AM
setting focus to particular textbox Charlie Excel Programming 3 December 25th 07 07:45 PM
Setting the focus Orf Bartrop New Users to Excel 4 August 9th 06 05:36 AM
Change cell value when right-clicked/double-clicked grime[_5_] Excel Programming 5 October 17th 05 01:52 PM
setting the focus using VB Yan Robidoux[_7_] Excel Programming 4 August 16th 04 09:42 PM


All times are GMT +1. The time now is 02:19 AM.

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"