Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nigel
 
Posts: n/a
Default Formula Calculation as Text ( no formula )

Hi,
Can anyone help me with this problem? i have a cell that has a formula. once
the formula has calculated, i want to press a button and "flatten" the
formula.
Example:
A5= Client1
B5= My Project Name
C5= £2500

formula = A5&" "&B5&" "&C5
( Client1 My Project Name £2500 )
want i want is once button ( macro is pressed, when i select the cell, it
shows the finished calculation. ( removing the formula but leaving
calculation showing )

Can this be acheived?

Regards,
Nigel

  #2   Report Post  
Don Guillett
 
Posts: n/a
Default

You could use this by right click sheet tabview codeinsert thisSAVE. Now,
when you type in the formula it will automatically be changed to the value.
But it will do with all unless you restrict the cells.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Target.Formula = Target.Value
End Sub
--
Don Guillett
SalesAid Software

"Nigel" wrote in message
...
Hi,
Can anyone help me with this problem? i have a cell that has a formula.

once
the formula has calculated, i want to press a button and "flatten" the
formula.
Example:
A5= Client1
B5= My Project Name
C5= £2500

formula = A5&" "&B5&" "&C5
( Client1 My Project Name £2500 )
want i want is once button ( macro is pressed, when i select the cell, it
shows the finished calculation. ( removing the formula but leaving
calculation showing )

Can this be acheived?

Regards,
Nigel



  #3   Report Post  
bj
 
Posts: n/a
Default

If you only have a couple of cells you want to do this to,
record a macro
select the cell of interest, copy it and paste special values on the same cell
stop the macro.
in a cell close to the cell of interest draw a box or circle. Right click on
the highlighted shape and assign the macro you just generated.

If you copy the equation back into the cell now you can push the button and
have what you asked for.

This needs to be done for each of the cells of interest.
If you have more cells than you want to do individually, a more formal macro
would need to be written.

"Nigel" wrote:

Hi,
Can anyone help me with this problem? i have a cell that has a formula. once
the formula has calculated, i want to press a button and "flatten" the
formula.
Example:
A5= Client1
B5= My Project Name
C5= £2500

formula = A5&" "&B5&" "&C5
( Client1 My Project Name £2500 )
want i want is once button ( macro is pressed, when i select the cell, it
shows the finished calculation. ( removing the formula but leaving
calculation showing )

Can this be acheived?

Regards,
Nigel

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
How do I use text in a cell as a range name in a formula Kiwi Excel Discussion (Misc queries) 2 April 11th 05 04:17 AM
TEXT SHOWS UP IN FORMULA BAR BUT NOT IN CELL? C-ROB Excel Discussion (Misc queries) 3 April 1st 05 11:15 PM
Formula appears as text Tiles Excel Worksheet Functions 3 March 27th 05 10:48 AM
merging text without using a formula April Excel Discussion (Misc queries) 4 February 16th 05 01:07 AM
Concatenation formula loses text wrap formatting DFM Excel Discussion (Misc queries) 5 December 27th 04 01:45 PM


All times are GMT +1. The time now is 11:01 AM.

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"