Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default macro for converting number stored as "text" (or preceeded with ') to "number" formatting

Hello,

I've tried to achieve this with macro recorder, but it writes only the
".select" part...
(I used to select the whole range and than pass through the contextual <!
menu that appears briefly on the left side of the cell and signals the
problem...)

What is the VBA instruction for this?
Many thanks,

Mark

P.S: Range("B3").Select
Selection.NumberFormat = "0.00"
is not functionning in my workbook neither...


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 290
Default macro for converting number stored as "text" (or preceeded with ') to "number" formatting

Markx

A workaround I have used it to put

activecell.value = activecell.value * 1

Post back if this doesnt work (or if it does)

Duncan


markx wrote:

Hello,

I've tried to achieve this with macro recorder, but it writes only the
".select" part...
(I used to select the whole range and than pass through the contextual <!
menu that appears briefly on the left side of the cell and signals the
problem...)

What is the VBA instruction for this?
Many thanks,

Mark

P.S: Range("B3").Select
Selection.NumberFormat = "0.00"
is not functionning in my workbook neither...


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
Pasted values that paste as "number stored as text" smartgal Excel Discussion (Misc queries) 3 July 2nd 08 01:27 AM
how i convert "100" to "hundred"( number to text) in excel-2007 mohanraj Excel Worksheet Functions 1 May 11th 08 09:07 PM
How do I ignore the "Number stored as text" error message permane. reston33 Excel Discussion (Misc queries) 2 March 28th 07 02:59 AM
Column listed as "Number Stored as Text" - Exported from Access Anthony C Excel Programming 1 September 30th 04 05:29 PM
unable to get original cell value from a "number stored as text" cedralpass Excel Programming 2 April 16th 04 10:51 PM


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