LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default Functions in VBA used in spreadsheet cell

I have written an extremely simple function in VBA module for sheet 1 and
when I try to use that function in a cell in sheet 1 I get a *Name? error.
Has anyone seen this before? How do I get the function to work?

Function CalculateOne (a,b)
CalculateOne = 2*a + b
EndFunction

--
Thank you,
JRXPL
 
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
excel spreadsheet print functions [email protected] Excel Worksheet Functions 1 May 5th 07 12:16 AM
8 Functions in a spreadsheet program Aleatha Excel Discussion (Misc queries) 1 November 1st 06 09:14 PM
Spreadsheet functions Paige Park Excel Discussion (Misc queries) 5 May 16th 06 08:41 PM
Functions not working in Spreadsheet AuthorizedUserPF Excel Worksheet Functions 2 January 31st 06 01:56 PM
Spreadsheet functions Derrick Robinson Excel Worksheet Functions 4 June 25th 05 05:34 PM


All times are GMT +1. The time now is 07:45 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"