Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default displaying formula result

Hi

My code contains a line

ActiveCell.FormulaR1C1 = "=VLOOKUP(R[-6]C[-5]:R[-1]C[-4],1,FALSE)"

that inserts a formula in the active cell. Is there a way in which I
can insert only the result of the formula (say, "ABC") in the active
cell.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default displaying formula result

Hi,

with ActiveCell
.FormulaR1C1 = "=VLOOKUP(R[-6]C[-5]:R[-1]C[-4],1,FALSE)"
.value = .value
End with




"Utkarsh" a écrit dans le message de groupe de discussion :
...
Hi

My code contains a line

ActiveCell.FormulaR1C1 = "=VLOOKUP(R[-6]C[-5]:R[-1]C[-4],1,FALSE)"

that inserts a formula in the active cell. Is there a way in which I
can insert only the result of the formula (say, "ABC") in the active
cell.

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
The Formula is displaying, not the result tcarp Excel Discussion (Misc queries) 6 January 30th 07 06:51 AM
formula result is not displaying olga Excel Discussion (Misc queries) 4 January 10th 07 01:08 AM
Formula result not displaying in cell [email protected] Excel Worksheet Functions 3 July 13th 06 09:30 PM
result of formula not displaying Stupid Word User Excel Worksheet Functions 4 October 21st 05 01:41 AM
displaying formula result kalz Excel Worksheet Functions 4 November 17th 04 08:23 AM


All times are GMT +1. The time now is 12:02 PM.

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"