LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 169
Default Format Excel Column via code

I am unhappy with the Access Transferspreadsheet and OutputTo actions because
they cutoff text at 255 characters. I've written my own routine to export an
Access table or query to an excel spreadsheet, and it is working relatively
well.

However, I have found that it is not formatting my data correctly.
Specifically, my Date fields are not being formatted as dates, but as
integers. Assuming that I have a worksheet object (xlWks), how do I format
Column 6 to display in a date format ("mm/dd/yyyy")?

Thanks
Dale
 
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
Code to conditional format all black after date specified in code? wx4usa Excel Discussion (Misc queries) 3 December 26th 08 07:06 PM
Why the column code in my excel is 123... instead of ABC...? lberjy Excel Discussion (Misc queries) 1 October 24th 07 04:23 AM
Code Date Format Depending on Computer format Myriam Excel Discussion (Misc queries) 0 July 17th 07 03:26 PM
Excel - CSV Format and column width [email protected] Excel Discussion (Misc queries) 7 June 9th 05 07:40 PM
code for converting data format in another format mistral Excel Programming 0 August 19th 04 04:50 PM


All times are GMT +1. The time now is 01:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"