Results 1 to 5 of 5

how to pass parameter to different sub?

Threaded View

  1. #1
    Registered User
    Join Date
    04-23-2008
    Posts
    48

    Smile how to pass parameter to different sub?

    can some1 pls help me? i m beginner in writing some marco.
    below r my code
    private sub commandbutton1_click()
    x=10
    call part1
    end sub
    
    sub part1()
    msgbox x
    end sub
    how to pass the x=10 to sub part1?
    Last edited by royUK; 05-13-2008 at 12:58 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1