+ Reply to Thread
Results 1 to 3 of 3

Date

  1. #1
    Registered User
    Join Date
    03-01-2007
    Posts
    41

    Date

    Haf a prob wif date...For example col A1 "1983-04-03". when i write a function ="insert into abc vaules('"&A1&"')" it gives me insert into abc vaules insert into abc vaules(30409). How to solve tis? Anyone knows?

  2. #2
    Registered User
    Join Date
    03-01-2007
    Posts
    6
    Try this

    ="insert into abc vaules(' " & YEAR(A1) & "-" & MONTH(A1) & "-" & DAY(A1) & " ' )"

  3. #3
    Registered User
    Join Date
    03-01-2007
    Posts
    41
    Quote Originally Posted by barrington
    Try this

    ="insert into abc vaules(' " & YEAR(A1) & "-" & MONTH(A1) & "-" & DAY(A1) & " ' )"
    Thks! It's working fine.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1