Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jay Jay is offline
external usenet poster
 
Posts: 671
Default Cursor mystery...

The following VBA statement fires up a form with a blinking cursor in
EditBoxes(1) as desired:
DialogSheets("ControlForm").Show
A separate routine clears lthe contents from all edit boxes on the form, but
the cursor disappears (doesn't show in any editbox) and I can't seem to get
it back unless the Form is closed and opened again.

The following statements have been tried, but neither works:
DialogSheets("ControlForm").EditBoxes(1).SetFocus
DialogSheets("ControlForm").EditBoxes(1).SetFocus = True

Also, if there is an entry in the "home" field (the field where the cursor
should appear when the rest of the form is cleared), it would be nice if the
entire box was highlighted so the user could replace the contents just by
typing.
--
Thanks a bunch in advance,
Jay
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
My cursor always in selection mode,wat about other cursor option Deepu[_2_] Excel Discussion (Misc queries) 1 March 2nd 10 01:05 AM
move cursor on one sheet moves cursor on all sheets tdworden Excel Discussion (Misc queries) 2 July 22nd 07 10:50 PM
MYSTERY!! WhytheQ Excel Discussion (Misc queries) 2 June 20th 06 11:00 AM
Can I change the "white cross" cursor in Excel to another cursor? KFEagle Excel Discussion (Misc queries) 1 May 3rd 05 08:01 PM
Mystery Formats Tod Excel Programming 1 September 8th 04 04:13 AM


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