+ Reply to Thread
Results 1 to 3 of 3

Convert VBS to VBA?

  1. #1
    Registered User
    Join Date
    09-26-2010
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    3

    Convert VBS to VBA?

    Dear all,

    Is it possible to convert VBS to VBA so that I can use it in excel?

    Regards,
    Kelly.

  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,259

    Re: Convert VBS to VBA?

    Hello kelly1014,

    VBS (Visual Basic Scripting) can be run from the VBIDE (Visual Basic Integrated Development Environment)., as can any scripting language supported by Windows. To better understand what you want to do, you should post the VBS code along with an a explanation of what you want this code and Excel to do.
    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!)

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,441

    Re: Convert VBS to VBA?

    Hi kelly1014,

    In the article at http://www.taltech.com/support/bcax/...0to%20VBS.html the word "SUBSET" is important. To convert VBS to VBA would depend on the commands you have used in the VBS code. Because VBA is a subset of VBS it would convert (more ealily) if you had only used VBS commands that exist in VBA. There are many posts on the net about converting VBA to VBS.

    The final answer is "it depends" on the commands used in VBS and if they are immediately available in VBA.

    I hope this answers your question. Please read the linked article or search the net for more specifics.

+ 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