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: 26
Default Using CallByName for conversion function

Hello,

This is something that I should have known in the VB basics, but I didn't
and also it's not very Excel specific, but beacuse I am doing it in the
Excel context I guess it's relevant here.

I have the following call:

SomeFunction = CallByName(VBA, "CDbl", VbMethod, inputValue)

The problem is that I don't know the object in which the CDbl is defined.
Using VBA returns compiler error. I need to use this because "CDbl" will be
parameterized.

Thanks for you time,
Nacho


 
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
Conversion function for Bytes RORWessels Excel Discussion (Misc queries) 2 April 4th 23 12:46 PM
Metric conversion formula / function Paula ) Excel Discussion (Misc queries) 3 September 6th 07 04:23 AM
Example for VBA function - CallByname! HaHa Excel Discussion (Misc queries) 0 November 11th 06 05:04 PM
PV function conversion to SQL [email protected] Excel Discussion (Misc queries) 1 November 20th 05 03:37 PM
How to use a conversion function in a whole column Terence[_2_] Excel Programming 1 July 28th 03 11:12 AM


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