+ Reply to Thread
Results 1 to 2 of 2

Textbox changing date value to text

  1. #1
    Registered User
    Join Date
    01-30-2015
    Location
    cardiff
    MS-Off Ver
    2010
    Posts
    1

    Textbox changing date value to text

    Good Afternoon,

    Im a bit of a novice with vba so am after a bit of help if possible.

    I have the following code:-

    Please Login or Register  to view this content.
    I have a calendar set up that filters the date into the userform textbox. When i click a button to save all the data into a worksheet it is formatting it to text.

    I have tried cdate but because i am sharing the worksheet it is giving me an error.

    any help will be appreciated
    Last edited by kjstephens1; 01-30-2015 at 11:44 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Textbox changing date value to text

    Hello kjstephens1,

    Welcome to the Forum!

    It would help to know where this text box is located and what type it is. Rather than play twenty questions, it would be faster if you post a copy of the workbook for review.

    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adding one TextBox with weeks to text box with date to give final Date
    By davidloops in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2013, 08:25 PM
  2. Date format changing between cell and textbox
    By processchip in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2011, 01:53 PM
  3. Changing Date into Text Help
    By Coors in forum Excel General
    Replies: 2
    Last Post: 01-18-2011, 04:08 PM
  4. How can I after selecting date on the Calendar autoinsert text into a activex textbox
    By ethanalvin in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2009, 06:10 PM
  5. [SOLVED] Changing font color of textbox text.....
    By jan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-31-2005, 05:06 PM

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