trying to write a formula in a VB to some cells:This is what I have and is returning a run-time error. Anyone know how I should be writing this?![]()
Please Login or Register to view this content.
trying to write a formula in a VB to some cells:This is what I have and is returning a run-time error. Anyone know how I should be writing this?![]()
Please Login or Register to view this content.
Last edited by adsxvii; 02-10-2009 at 01:40 PM.
Assuming kk is a numerical value my only point would be:
count your parentheses... ;-)
=IF(ISNA(VLOOKUP(...)),..,VLOOKUP(....))
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
To debug is divine.
Set a string variable equal to the formula, then print it to the Immediate window before it gets stuck in a cell. If you see what's wrong there, you can fix it; if not, paste it into a cell and let Excel tell you what's wrong.
Entia non sunt multiplicanda sine necessitate
ThanksFixed
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks