Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default How to neutralize Active Cell?

Hello,
I need programmatically to 'clear' ActiveCell status.
How can I do that?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to neutralize Active Cell?

You mean so ActiveCell is Nothing. Don't believe you can do that. If you
are trying to not have a cell visibly selected, then move the selection off
the visible portion of the page or lock all cells, set the enable selection
property to noselection and protect the sheet.

--
Regards,
Tom Ogilvy

"Jack" <replyto@newsgroup wrote in message
...
Hello,
I need programmatically to 'clear' ActiveCell status.
How can I do that?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default How to neutralize Active Cell?

Yes, thats what I need. The best will be to set ActiveCell to Nothing.
If that is impossible I need another solution.
The code I use to detect user's click on Excel cell is activated when the
user CHANGES the active cell.
In the initial situation, when user selects cell then activates my program,
then clicks on THE SAME cell my code will not receive any event from Excel.
How to move active cell to something else to force user to repeat his
action?
Thanks,
Jack

"Tom Ogilvy" wrote in message
...
You mean so ActiveCell is Nothing. Don't believe you can do that. If

you
are trying to not have a cell visibly selected, then move the selection

off
the visible portion of the page or lock all cells, set the enable

selection
property to noselection and protect the sheet.

--
Regards,
Tom Ogilvy

"Jack" <replyto@newsgroup wrote in message
...
Hello,
I need programmatically to 'clear' ActiveCell status.
How can I do that?






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to neutralize Active Cell?

Jack,

I have had this problem, so what I did was to activate the adjacent cell in
the select/change event. Thereafter, another click in the original generates
a new select.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Jack" <replyto@newsgroup wrote in message
...
Yes, thats what I need. The best will be to set ActiveCell to Nothing.
If that is impossible I need another solution.
The code I use to detect user's click on Excel cell is activated when the
user CHANGES the active cell.
In the initial situation, when user selects cell then activates my

program,
then clicks on THE SAME cell my code will not receive any event from

Excel.
How to move active cell to something else to force user to repeat his
action?
Thanks,
Jack

"Tom Ogilvy" wrote in message
...
You mean so ActiveCell is Nothing. Don't believe you can do that. If

you
are trying to not have a cell visibly selected, then move the selection

off
the visible portion of the page or lock all cells, set the enable

selection
property to noselection and protect the sheet.

--
Regards,
Tom Ogilvy

"Jack" <replyto@newsgroup wrote in message
...
Hello,
I need programmatically to 'clear' ActiveCell status.
How can I do that?








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default How to neutralize Active Cell?

Thanks. That will work. :)
"Bob Phillips" wrote in message
...
Jack,

I have had this problem, so what I did was to activate the adjacent cell

in
the select/change event. Thereafter, another click in the original

generates
a new select.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Jack" <replyto@newsgroup wrote in message
...
Yes, thats what I need. The best will be to set ActiveCell to Nothing.
If that is impossible I need another solution.
The code I use to detect user's click on Excel cell is activated when

the
user CHANGES the active cell.
In the initial situation, when user selects cell then activates my

program,
then clicks on THE SAME cell my code will not receive any event from

Excel.
How to move active cell to something else to force user to repeat his
action?
Thanks,
Jack

"Tom Ogilvy" wrote in message
...
You mean so ActiveCell is Nothing. Don't believe you can do that.

If
you
are trying to not have a cell visibly selected, then move the

selection
off
the visible portion of the page or lock all cells, set the enable

selection
property to noselection and protect the sheet.

--
Regards,
Tom Ogilvy

"Jack" <replyto@newsgroup wrote in message
...
Hello,
I need programmatically to 'clear' ActiveCell status.
How can I do that?










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
Row select mode to highlight active row of active cell Bart Fay[_2_] Excel Discussion (Misc queries) 0 May 11th 10 09:34 PM
set the background color of the current cell(active cell) kang New Users to Excel 2 July 31st 07 04:48 PM
referring to formula in a non active cell from active cell nickname Excel Discussion (Misc queries) 1 June 21st 07 12:11 PM
value of the active cell caroline Excel Worksheet Functions 2 June 21st 06 05:34 PM
HOW TO COPY 480 ACTIVE E-MAIL ADDRESSES CLM "G" ON AN ACTIVE EXCE. ragman10 Excel Discussion (Misc queries) 1 December 13th 04 11:52 PM


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