Results 1 to 7 of 7

Java'ish Return?

Threaded View

  1. #1
    Maull
    Guest

    Java'ish Return?

    And now this is my 3rd post in this forums since I registered a few hours ago.

    HOW IS VB / EXCEL SO HARD! *cry*

    Pseudoishcode

    Sub My_Sub()
         Call Return_Percent(5, 10)
         RETURN IS PASTED INTO CELL A1 ON SHEET 1
    End Sub
    
    Sub Return_Percent(X, Y)
         X*Y=Z
         Return Z
    Sub End
    Second Sub has been asked in another thread so that's not so important

    What I am after is a generic method/sub that can take a a few simple variable's and return something that can be pasted into a cell.

    What I am trying to do is build my own API that can be used by idiots, (EG Managers)
    Last edited by Maull; 12-06-2010 at 07:14 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