LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Eliminate one cell



Hi. The code below scans an entire worksheet, and hardcodes and cell with a
vlookup formula in it. How can I vary this to EXCLUDE cell C1, meaning
leave the vlookup formula in cell C1? Thanks!


Dim rCell As Range
For Each rCell In ActiveSheet.UsedRange.Cells
If UCase(Left(rCell.FormulaR1C1, 8)) = "=VLOOKUP" Then rCell.Value =
rCell.Value
Next rCell


 
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
IN EXCEL............HOW DO YOU ELIMINATE A * NEXT TO A CELL VALUE ALBERT BRODSKY Excel Discussion (Misc queries) 2 October 3rd 08 10:30 PM
IN EXCEL............HOW DO YOU ELIMINATE A * NEXT TO A CELL VALUE ALBERT BRODSKY[_2_] Excel Discussion (Misc queries) 0 October 3rd 08 02:01 PM
A way to eliminate repeated info within a cell mm Excel Programming 2 July 30th 06 09:01 PM
how can I eliminate the last character of a cell? brantty Excel Discussion (Misc queries) 1 May 4th 06 02:54 AM
how can I eliminate the first 3 characters from a cell brantty Excel Worksheet Functions 3 September 28th 05 10:01 PM


All times are GMT +1. The time now is 07:25 PM.

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"