Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi All,

 

I am trying to change a column in a Excel Spreedsheet from Text to Short Date. Is this possible???

 

If not a column what about a range M3 to M30?

 

 

SonicBoomAu

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

-- Rick Cook, The Wizardry Compiled

Posted

Have found an answer:

objSheet.Range("M3", "M999").NumberFormat = "dd-MMM-yyyy"

 

My question now is there a better way of doing this????

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

-- Rick Cook, The Wizardry Compiled

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...