Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Changing formulas to values

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BWPanda - 25 Mar 2008 07:36 GMT
I have a spreadsheet that makes calculations based on the value of another cell
(say, A1).
If I change the value in A1, all the calculations are updated, however, I want
certain cells to keep their values when saved, so that future changes to A1
aren't reflected in these cells.

I can currently do this on a cell-by-cell basis by hitting F2, then F9 on a
cell, but I'm wanting something a bit simpler and that will work when I select a
range of cells.
I've tried saving the F2, F9 presses as a macro, but that doesn't work...

Any ideas?

Signature

Kind regards,
Peter Anderson.

Héctor Miguel - 25 Mar 2008 08:28 GMT
hi, !

> I have a spreadsheet that makes calculations based on the value of another cell (say, A1).
> If I change the value in A1, all the calculations are updated, however
> I want certain cells to keep their values when saved, so that future changes to A1 aren't reflected in these cells.
> I can currently do this on a cell-by-cell basis by hitting F2, then F9 on a cell
> but I'm wanting something a bit simpler and that will work when I select a range of cells.
> I've tried saving the F2, F9 presses as a macro, but that doesn't work...

if you have previously selected "the range/s", you could try from vba-editor / immediate window pane:

- if one single and continuous cells range:
selection.value = selection.value

- if two (or more) non-contiguous cells ranges:
for each group in selection.areas: group.value = group.value: next

hth,
hector.
BWPanda - 25 Mar 2008 09:36 GMT
> - if one single and continuous cells range:
> selection.value = selection.value

Who would've thought it'd be that easy...
Thanks Hector!

Signature

Kind regards,
Peter Anderson.
(Fuji FinePix S9500)
http://www.panda.id.au

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.