Results 1 to 2 of 2

Thread: How to access a private function

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2008
    Posts
    4

    How to access a private function

    i ahave a .dob file

    which has all private functions

    private sub validate()
    private sub cbo_change()
    etc


    I have to write a public sub click()

    then have to call a private sub validate() in this click()

    how can I do that ...


    Thanks in advance.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to access a private function

    First, those are not subs or functions. They are events. Change is an event of the combo box called CBO. Validate, I'm assuming, is a form level event.

    You don't. You write you own subs and call them from where ever and when ever you want.

    What do you need to call a Change event?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width