+ Reply to Thread
Results 1 to 4 of 4

VBA Code to convert one variable as an Integer to a new variable as a month name

  1. #1
    Registered User
    Join Date
    08-01-2017
    Location
    Texas
    MS-Off Ver
    2016
    Posts
    4

    VBA Code to convert one variable as an Integer to a new variable as a month name

    Hello,

    I am writing a macro and need help with a small portion. I want a variable titled EnteredMonth, which is defined as an Integer, to now be converted into a new variable titled EnteredMonthName. This new variable I want to display the name of the month according to the Integer that is inputted into my InputBox. Can anyone help me do this?

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: VBA Code to convert one variable as an Integer to a new variable as a month name

    Maybe :
    Please Login or Register  to view this content.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Registered User
    Join Date
    08-01-2017
    Location
    Texas
    MS-Off Ver
    2016
    Posts
    4

    Re: VBA Code to convert one variable as an Integer to a new variable as a month name

    Thank you!

  4. #4
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: VBA Code to convert one variable as an Integer to a new variable as a month name

    You are welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Convert two digit month (ex 10) to full Month Name in Variable
    By orozvik in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-30-2015, 05:42 PM
  2. Reference Row in another workbook with integer variable
    By orange2014 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2014, 07:15 PM
  3. [SOLVED] Error in a Code. Object variable or With block variable not set????
    By ciapul12 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-03-2014, 12:20 PM
  4. [SOLVED] Excel VBA error code 91: Object variable or with block variable not set
    By wilnexpc in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-24-2013, 11:46 AM
  5. Formatting a integer variable or something...
    By timbreeding in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-22-2009, 11:22 AM
  6. Error Code 91 Object Variable or With Block variable Not Set
    By florencia in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-30-2008, 04:46 AM
  7. Making sure variable is an integer?
    By Mooshey in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 02-04-2008, 12:28 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