Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
SMS SMS is offline
external usenet poster
 
Posts: 15
Default Userform: Unable to setfocus from multipage

let me make that slightly clearer:

textbox1
multipage:
|--------------------------------|
| |
| textbox2
| |
|--------------------------------|

textbox2 can not setfocus on textbox1 ("unexpected call to method or
property access" error)

Interestingly, textbox1 code CAN set the focus on textbox2

Thank you!


On Oct 5, 1:05*pm, SMS wrote:
Hi all...

More userform setfocus drama... (this is seems to be a VERY buggy area
for excel)

I have event code from an object that appears on a multipage page. *In
that code, it attempts to set the focus on a textbox that lives
OUTSIDE the multipage.

This causes an "unexpected call to method or property access" error.

If I move that textbox out of the multipage and onto the userform,
then all works well.

I have tried calling it explicitly: "Userform1.textbox1.setfocus" * no
dice. *same error.

Thoughts? *workarounds?

thank you!


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
UserForm Setfocus Problem BOBODD Excel Programming 2 November 29th 06 01:43 AM
Excel 2003, can't setfocus in a textbox inside a multipage, tab key don work! carlosla Excel Programming 0 February 23rd 06 07:55 PM
setfocus in textbox on multipage Martin Excel Programming 5 January 6th 06 04:20 AM
Userform setfocus problem Martin Hibberd[_2_] Excel Programming 1 November 10th 04 12:12 PM
setfocus on multipage tab form gives error message Cheryl Excel Programming 3 July 28th 04 03:07 PM


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