LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Translate Formulas as Values

Yes, I saw your qualification, but it (because it was short) left me with
the impression that you were suggesting it as a simple replacement for the
previously posted code. My thought was that the OP used the Selection to,
perhaps, shield other formulas from being processed and I just wanted a
comment for him to see indicating that your latest code would not do that.

Rick


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Certainly it will pick up every cell with a formula. It was designed to
do just
that

If you re-read you will see that the code was presented to Jarek only as
an
example of how to work without For/Next or a selection

But you can do it without a For/Next or a selection.



Gord

On Sun, 29 Jun 2008 10:56:47 -0400, "Rick Rothstein \(MVP - VB\)"
wrote:

Won't that pick up every cell with a formula, not just the ones in the
Selection (I'm thinking the OP might have used the Selection in order to
shield formulas elsewhere on the sheet)?

Rick


"Gord Dibben" <gorddibbATshawDOTca wrote in message
. ..
But you can do it without a For/Next or a selection.

Dave Peterson showed me this construct.

Sub transl()
Dim rng As Range
Set rng = Nothing
On Error Resume Next 'just in case there are no formulas
Set rng = Cells.SpecialCells(xlCellTypeFormulas)
On Error GoTo 0
If rng Is Nothing Then
'do nothing
Else
rng.Value = rng.Value
End If
End Sub



On Wed, 25 Jun 2008 23:05:42 -0700 (PDT), Jarek Kujawa

wrote:

yep Gord, this one is the simpliest



 
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
can someone please translate this for me Just Me[_2_] Excel Discussion (Misc queries) 5 January 4th 08 10:12 PM
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
Why don't Excel formulas translate in copy/paste or fill down? Janunson Excel Discussion (Misc queries) 3 November 9th 06 03:28 PM
Please help translate the following Brian Excel Discussion (Misc queries) 4 April 17th 06 05:40 AM
Do formulas in a table translate when sorted? Matt@Major Excel Worksheet Functions 1 March 4th 06 07:46 PM


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