View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
choco140 choco140 is offline
external usenet poster
 
Posts: 4
Default Variable Type - help me to solve this

A1 content is '02/9085 but when I run the under mentioned program I
always get 01/02/9085 (feb-85), can anybody pls help me to keep the
data the way they are.

Sub Test()
Dim a As String
a = Range("A1").Value
Range("A1").Value = a
End Sub