Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default need macro: convert formula to value

I dont want to see formula at selection area , only values
need macro to do so.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default need macro: convert formula to value

Turn on the macro recorder

then select your cells, format = cells, go to the protection tab and click
both locked and hidden

then protect your worksheet

Turn off the macro recorder.

Look at the recorded code.

--
Regards,
Tom Ogilvy


"moshe" wrote in message
om...
I dont want to see formula at selection area , only values
need macro to do so.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default need macro: convert formula to value

Hi

just wondering why you need a macro for this, as copy then edit / paste
special - values works well in most situations.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"moshe" wrote in message
om...
I dont want to see formula at selection area , only values
need macro to do so.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default need macro: convert formula to value

If you actually want to replace the formula with values as JulieD describes

Sub ReplaceWithValues()
selection.Copy
selection.PasteSpecial xlValues
End Sub

--
Regards,
Tom Ogilvy


"JulieD" wrote in message
...
Hi

just wondering why you need a macro for this, as copy then edit / paste
special - values works well in most situations.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
...well i'm working on it anyway
"moshe" wrote in message
om...
I dont want to see formula at selection area , only values
need macro to do so.





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
Macro - Insert Equal Sign to Convert String to Formula Access''03_NewUser Excel Discussion (Misc queries) 3 October 18th 12 05:33 PM
MACRO: Convert Row Formula to Value SteveT Excel Discussion (Misc queries) 1 August 30th 07 12:08 PM
convert a formula into a macro Dave F Excel Discussion (Misc queries) 2 December 11th 06 10:34 PM
Convert Vlookup Formula to Macro Ian[_12_] Excel Programming 2 June 29th 04 11:10 AM
Using Macro to convert 240 to PRN Kenneth Excel Programming 1 November 9th 03 11:43 PM


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