Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default formula doesn't work until cell is re-entered

try one of these
Sub nopreapostophe()
For Each c In ActiveSheet.UsedRange
If c.PrefixCharacter = "'" Then c.Value = c.Value
Next
End Sub

Sub ValueCells()
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlValues
Application.CutCopyMode = False
Range("a1").Select
End Sub

Sub MakeValues() 'Don Guillett
Sheets.Select
Cells.Select
With Selection
.Copy
.PasteSpecial Paste:=xlPasteValues
[a1].Select
Application.CutCopyMode = False
End With
Sheets(1).Select
End Sub

--
Don Guillett
SalesAid Software
Granite Shoals, TX

"serge" wrote in message
...
Hi, problem Excel 2000 w/DDE link to Bloomberg service for
ticker quotes. Through VBA I populate cell formulas with
Bloomberg functions that get real-time quotes. The problem
is when I open worksheet all my cells show #NAME? errors
until I go into formula bar for each cell and press enter
or leave to another cell. Then the quotes start coming in.
I don't think it's a problem with Bloomberg, but maybe
some kind of invisible character is in the formula? I use
Trim() and get rid of white spaces. App. Screen Update and
Automatic calculation properties are one. It's one of
those "d'uh" problems.


Thanks

Serge



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
Cell only shows formula entered duketter Excel Discussion (Misc queries) 2 April 18th 07 02:14 PM
Date changes to formula when entered in a cell PCLIVE Excel Worksheet Functions 4 September 3rd 06 11:13 PM
Formula to see if a cell has an entered value bellz Excel Worksheet Functions 3 January 13th 06 06:23 AM
Need to rebuild formula using the value entered into a cell on the Forrest Excel Worksheet Functions 2 December 20th 05 05:07 PM
why does undo feature not work after value entered in cell in exce dachsieluvr Excel Worksheet Functions 1 October 3rd 05 01:18 PM


All times are GMT +1. The time now is 03:29 AM.

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"