Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Set focus to cell?

After applying a 'column hide' I wish to set focus to a particular cell to
stop the columns being 'highlighted' after the user switches those columns
back on...

Yes I cannot find the .setFocus property in the vba intellisense..does not
seem to exist..any ideas on how to simply set focus to cell after doing
this:

Range("C:M,R:R").EntireColumn.Hidden = True

Selection.EntireColumn.Hidden = True
btnSH.Caption = "Show Columns"


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Set focus to cell?

Range("C14").Select

HTH. Best wishes Harald

skrev i melding
...
After applying a 'column hide' I wish to set focus to a particular cell to
stop the columns being 'highlighted' after the user switches those columns
back on...

Yes I cannot find the .setFocus property in the vba intellisense..does not
seem to exist..any ideas on how to simply set focus to cell after doing
this:

Range("C:M,R:R").EntireColumn.Hidden = True

Selection.EntireColumn.Hidden = True
btnSH.Caption = "Show Columns"




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
Disable cell focus [email protected] Excel Discussion (Misc queries) 1 April 26th 09 12:04 AM
Active Cell/Focus Rich W. Excel Discussion (Misc queries) 6 March 19th 08 04:59 PM
Lost Focus - Applying to cell Paul Silverman Excel Programming 2 August 29th 04 01:10 PM
Cell Lost Focus Craig[_5_] Excel Programming 1 July 23rd 03 05:18 AM
Highlight Cell on Focus Nigel Graham Excel Programming 4 July 23rd 03 03:39 AM


All times are GMT +1. The time now is 03:59 AM.

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"