A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Refresh - F2



 
 
Thread Tools Display Modes
  #1  
Old January 8th, 2010, 05:19 AM posted to microsoft.public.excel.worksheet.functions
enna49
external usenet poster
 
Posts: 53
Default Refresh - F2

You are probably tired of this type of question, but here goes.

Is there any way to quickly go through a spreadsheet with the

F2 Enter (to refresh a cell) I have tried a Macro, as well as the copy
and paste special with the Multiply which works for format dates etc. I
want to refresh the blank cells that once had a formula, so it will not be
included in COUNT.

Thanks
  #2  
Old January 8th, 2010, 02:09 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Refresh - F2

Saved from a previous post:

If you want to see what's left in that cell after you convert ="" to values,
try:
Tools|Options|Transition Tab|Toggle Transition Navigation keys on.

Then select one of those cells and look at the formula bar. You'll see an
apostrophe. (Don't forget to toggle the setting to off.)

When I want to clean up this detritus, I do this:

Select the range (ctrl-a a few times to select all the cells)
Edit|Replace
what: (leave blank)
with: $$$$$
replace all

Immediately followed by:
Edit|Replace
what: $$$$$
with: (leave blank)
replace all

In code you could do something like:

Option Explicit
Sub testme()
With ActiveSheet
With .cells 'or a specific range: With .Range("D")
.Replace what:="", replacement:="$$$$$", LookAt:=xlWhole, _
SearchOrder:=xlByRows, MatchCase:=False
.Replace what:="$$$$$", replacement:="", LookAt:=xlWhole, _
SearchOrder:=xlByRows, MatchCase:=False
End With
End With
End Sub

===
(and they won't be included in the =CountA() totals. (They wouldn't have been
included in the =count() totals.)




enna49 wrote:

You are probably tired of this type of question, but here goes.

Is there any way to quickly go through a spreadsheet with the

F2 Enter (to refresh a cell) I have tried a Macro, as well as the copy
and paste special with the Multiply which works for format dates etc. I
want to refresh the blank cells that once had a formula, so it will not be
included in COUNT.

Thanks


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.