Hi Try
ActiveCell.Value = Format(FrmApplications.TextBox1.Value,"dd/mm/yyyy") Thanks Mahesh On Fri, Sep 9, 2011 at 10:26 PM, Brian <brianfosterbl...@gmail.com> wrote: > I am using a form to enter data and then from the textbox complete > data in an excel spreadsheet. This is my code > ActiveCell.Value = Date > ActiveCell.Offset(0, 1).Select > ActiveCell.Value = FrmApplications.TextBox1.Value > ActiveCell.Offset(0, 1).Select > > Activecell.Value = Date works perfectly as it places the date in > column A correctly in the format set for my computer dd/mm/yyyy > In textbox 1 I am entering a date in the form but when this is pulled > into the cell in column B it reverses the date to mm/dd/yyyy although > my windows setting has been set to the format that appears in colmn A > > > How do I correct this? > > > I am using Excel 2007 > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel