Results 1 to 5 of 5

Thread: How to convert Index(match.. (Left(Right...)..)..) into VBA (excel)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,887
    Location
    1. Define 'always stopping' -- is there an error message or something?

    2. GUESSING - since it seems you use semicolons (probably based on the Excel language) in the WS formula, do you also need to use them in the VBA statement? I don't know

    3. Can you attach a small sample workbook with the named ranges, some data, and the desired result?
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  2. #2
    Quote Originally Posted by Paul_Hossler View Post
    1. Define 'always stopping' -- is there an error message or something?
    the macro stop at this line and was hightlighted in yellow into Developer tab.

    2. GUESSING - since it seems you use semicolons (probably based on the Excel language) in the WS formula, do you also need to use them in the VBA statement? I don't know
    Latest_Range, LatestLineNo are both array name (I assume that's the way to put those into VBA code

    3. Can you attach a small sample workbook with the named ranges, some data, and the desired result?
    I've made some change into my post to show what is used as range names.

    Thanks for your help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •