POV-Ray : Newsgroups : povray.off-topic : Using Excel as a 3D engine : Re: Using Excel as a 3D engine Server Time
11 Oct 2024 01:21:49 EDT (-0400)
  Re: Using Excel as a 3D engine  
From: Nicolas Alvarez
Date: 13 Mar 2008 08:00:45
Message: <47d9257d$1@news.povray.org>

>>> Now, if you call a macro with a cell range as its argument, how does 
>>> that work?
>>
>> Not sure what you mean, you can pass arguments on in the normal manner 
>> i.e. Call Macro1(MyRange) from within another macro, or do you mean 
>> how do I pass what you've selected in the worksheet to the macro 
>> you're running? Which would be
>>
>> ActiveWorksheet.ActiveCell or better ActiveWorksheet.Selection
> 
> Actually I meant "how do I make it so I can write =MyMacro(A4:C9) in a 
> cell formula and have it actually work properly?"
> 

Ah, so you want to convert your macro into a formula function? I would 
look at the manual for you... but I uninstalled M$ Office a while ago :)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.