+ Reply to Thread
Results 1 to 3 of 3

type mismatch error-isplay value in excel

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    type mismatch error-isplay value in excel

    Hi All

    I want to display value in excel using vba in the following format

    12/20

    and i am using the following statment for this

    ws10.Cells(iR0, 2).Value = TextBox2.Value + "/" + aa
    but it gives an error "type mismatch". Could anyone please help me

    Regards
    Aman

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    re: type mismatch error-isplay value in excel

    Per forum rules please encase your code within CODE tags - Edit your last post, highlight your VBA and press the # icon at which point we may assist you.

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    re: type mismatch error-isplay value in excel

    aman1234

    As pointed out by DonkeyOte whenever you post VBA/macro code you need to use code tags

    Please take a couple of minutes and read ALL theForum Rules then wrap your VBA code (Rule 3)
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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