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: 1
Default Newbie problem :(


Hello people,

im new to using VBA, and im having a rather stupid problem. I am tryin
to write a function that i could use inside the worksheet, e.g. A
=Foo(). I tried
Code
-------------------
Function Foo()
Foo = 42
End Functio
-------------------
and several variations on that theme, but the only effect i'm gettin
is #NAME errors. Does a function have to be registered in some wa
before being used on a sheet? or do i have to use CALL in some way?

Thanks for any help,

Liosa

--
Liosa
-----------------------------------------------------------------------
Liosan's Profile: http://www.excelforum.com/member.php...fo&userid=2629
View this thread: http://www.excelforum.com/showthread.php?threadid=39576

 
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
Formula Problem for Newbie - Please! Terri[_2_] New Users to Excel 4 March 26th 08 09:30 PM
Newbie problem need formula help toddbob Excel Worksheet Functions 3 April 3rd 06 06:24 PM
Newbie Problem BuddyB Excel Programming 2 February 16th 05 04:45 AM
newbie spreadsheet problem stevo Excel Programming 1 June 17th 04 03:54 PM
newbie userform problem Kevin Excel Programming 1 August 5th 03 12:25 AM


All times are GMT +1. The time now is 06:37 PM.

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"