+ Reply to Thread
Results 1 to 3 of 3

Convert cell date calculation to VBA

  1. #1
    Forum Contributor
    Join Date
    05-12-2009
    Location
    Hendersonville, TN
    MS-Off Ver
    Excel 2010
    Posts
    113

    Convert cell date calculation to VBA

    Hello All,

    I am trying to get this cell formula converted to VBA to work on a userform I am putting together.

    Please Login or Register  to view this content.
    $B5 is now a TextBox named "tbdob" and I am wanting the calculation to display in another TextBox named "tbage" after "tbdob" has exit.

    I am not quite sure how to change this over.

    Your help is appreciated, please and thank you.

    Patrick

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Convert cell date calculation to VBA

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    05-12-2009
    Location
    Hendersonville, TN
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Convert cell date calculation to VBA

    Thank you so much AlphaFrog. The solution did exactly what I was looking for. I will mark this as Solved.

    Patrick

+ 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. [SOLVED] Question re: cell date / time calculation (e.g. =now, =today)
    By Jeffy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-12-2015, 01:28 PM
  2. RE: date calculation, no date displays for blank adjacent cell
    By kittycrickett in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2015, 10:55 AM
  3. [SOLVED] How to combine a text cell with a date cell so that date does not convert?
    By OmegaSea in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2015, 01:36 PM
  4. Replies: 5
    Last Post: 09-17-2013, 08:18 AM
  5. [SOLVED] convert cell that looks like date to an actual date
    By maacmaac in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-30-2013, 09:44 PM
  6. [SOLVED] Convert a cell with a timestamp in it to just the date to compare to another date
    By Tanyab in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2013, 05:41 AM
  7. HELP - Date Range In 1 Cell Calculation
    By Adam in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-19-2005, 04:05 PM

Tags for this Thread

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