Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default ISERROR formula in VBA not working for me

Hi,

I'm recording a formula and then I want to add the thisworkbook.name part
instead of mvtquery.xls. I tried adding something like this but is not
working
the recorded part " & thisworkbook.name & " the other recorded part.

I think I may be missing a " somewhere but I cant find it. this is driving
me nuts.


ActiveCell.FormulaR1C1 = _

"=ISERROR((VLOOKUP(VALUE(LEFT(R[1]C,(SEARCH(""("",R[1]C)-2))),[MvtQuery.xls]
Sheet3!R70C1:R100C2,2) &"" ""&RIGHT(R[1]C,LEN(R[1]C)-SEARCH(""
"",R[1]C))))""""
VLOOKUP(VALUE(LEFT(R[1]C,(SEARCH(""("",R[1]C)-2))),[MvtQuery.xls]Sheet3!R70C
1:R100C2,2) &"" "" "



Thanks for your help .






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
adding =if(iserror to formula KC Excel Discussion (Misc queries) 6 August 27th 09 04:30 PM
Replacing ISERROR Formula Ismael R Excel Worksheet Functions 6 March 5th 09 10:13 PM
Formula Help - Lookup, if, iserror?? Ash Excel Discussion (Misc queries) 9 November 7th 08 05:08 PM
Using iserror in formula forest8 Excel Discussion (Misc queries) 1 September 2nd 07 03:51 AM
Iserror not working as expected NathanG Excel Worksheet Functions 5 February 1st 07 05:31 PM


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