Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Call Sub Procedure object_Exit(ByVal Cancel As MSForms.ReturnBoole

I have a private sub procedure that I want to call from another private sub
procedure, but I get the error message Type mismatch


the sub procedure I want to call is "Private Sub txtExpectedDate_Exit(ByVal
Cancel As MSForms.ReturnBoolean)"

and I call it by "txtExpectedDate_Exit (False)"

So the questions is what is the correct code to call a private sub procedure
object_Exit?

TIA
KM


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Call Sub Procedure object_Exit(ByVal Cancel As MSForms.ReturnBoole

This code works .... Call txtExpectedDate_Exit(Cancel) it must be a
Friday thing :-)

"Kevin McCartney" wrote:

I have a private sub procedure that I want to call from another private sub
procedure, but I get the error message Type mismatch


the sub procedure I want to call is "Private Sub txtExpectedDate_Exit(ByVal
Cancel As MSForms.ReturnBoolean)"

and I call it by "txtExpectedDate_Exit (False)"

So the questions is what is the correct code to call a private sub procedure
object_Exit?

TIA
KM


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
Call Object_Exit : Type mismatch Kevin McCartney[_2_] Excel Programming 2 November 11th 03 01:25 PM
Selective call procedure jamesa Excel Programming 2 October 2nd 03 10:04 AM
call procedure bob Excel Programming 1 August 9th 03 12:40 AM
procedure won't call John Gittins Excel Programming 0 August 5th 03 08:17 PM
MSForms cancel Tritan Excel Programming 1 July 17th 03 08:50 PM


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