Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default VBA Function syntax

glad it worked - for completeness

xlWs.Range("c1").End(xlDown).Offset(1, 0).Select
xlApp.FormulaR1C1 = "=XIRR(R2C:R[-1]C,R2C1:R[-1]C1,0.1)"


should have been

xlWs.Range("c1").End(xlDown).Offset(1, 0).Select
xlApp.Selection.FormulaR1C1 = "=XIRR(R2C:R[-1]C,R2C1:R[-1]C1,0.1)"

--
Regards,
Tom Ogilvy

Forrest wrote in message
...
Works lilke a champ. Thanks for the education.



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
Indirect function syntax Matt Excel Discussion (Misc queries) 4 October 9th 08 10:43 PM
Syntax for IF function Sarah New Users to Excel 1 July 31st 06 01:57 PM
Syntax for 2 AND conditions within an OR function. Mike K Excel Worksheet Functions 5 June 3rd 05 12:06 AM
all function formulas syntax azeem mansoori Excel Discussion (Misc queries) 1 May 28th 05 11:56 AM
NetWorkDays Function Syntax Lamar Excel Worksheet Functions 2 April 12th 05 10:02 AM


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