Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how is use worksheet function mina( ) in macro?


I can only limited number of worksheetfunctions when I try to write
simple macro. How do I call some of the frequently used one such a
MinA() or SumA()

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default how is use worksheet function mina( ) in macro?

Vacaut,

You can EVALUATE a string. Like this:

Sub TestMinA()
Dim x
x = Application.Evaluate("=MINA(A1:A10)")
MsgBox x
End Sub

--
Ture Magnusson
Microsoft MVP - Excel
Karlstad, Sweden

"vacaut" wrote in message
...

I can only limited number of worksheetfunctions when I try to write a
simple macro. How do I call some of the frequently used one such as
MinA() or SumA()?


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how is use worksheet function mina( ) in macro?


it works. Thank you

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default how is use worksheet function mina( ) in macro?

You are welcome! I'm happy that I could be of assistance.

--
Ture Magnusson
Microsoft MVP - Excel
Karlstad, Sweden
"vacaut" wrote in message
...

it works. Thank you.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/



Reply
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
Inserting function into worksheet via macro John mac Excel Discussion (Misc queries) 4 December 14th 09 10:47 PM
using the macro in Worksheet function jannot Excel Worksheet Functions 3 August 4th 09 09:58 PM
worksheet function vs macro [email protected] Excel Discussion (Misc queries) 2 June 13th 06 02:54 AM
macro or worksheet function? rc Excel Worksheet Functions 3 March 31st 06 04:26 AM
having 0 as a min when running mina or average Tim Excel Worksheet Functions 2 May 4th 05 05:11 AM


All times are GMT +1. The time now is 08:29 AM.

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

About Us

"It's about Microsoft Excel"