LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Returning an integer from a Function

I am trying to return a variable that I have given a value within a function.
example: VarX = 10 and then I put in "return VarX" and I keep getting a
compile error. Is there another way of returning the value in vba?

 
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
increment an integer in a formula with the fill function vexed Excel Worksheet Functions 3 June 6th 08 05:20 PM
Search Function that returns an integer not #VALUE! DavidH Excel Worksheet Functions 2 March 28th 07 04:26 PM
how do I put in the IF function only integer as true values? suat Excel Worksheet Functions 1 November 3rd 06 06:17 PM
What function to determine the second small integer from a list? Eric Excel Programming 5 January 4th 06 05:02 PM
Is there a function to convert a string representing an integer i. perin Excel Programming 1 October 6th 04 09:36 PM


All times are GMT +1. The time now is 11:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"