+ Reply to Thread
Results 1 to 2 of 2

Setting a range to understand letters

  1. #1
    Registered User
    Join Date
    02-21-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    40

    Setting a range to understand letters

    Hi,

    I have some vba code which extracts data from a tab delimited file.
    The code works in terms of finding (for example) where the first column = "123" however it doesn't pull back the records if there is a special character or a character there e.g. "12345-ABCDE" does not work.

    I think this is to do with my range selection (as B2 is the driver behind that value).

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Setting a range to understand letters

    Hi,

    Can you upload both the tab delimited file and the workbook with the macro. Manually add in the macro workbook the result you expect.

    What do you do with the data once you have populated the array. I'm assuming you use the array to populate a range on a sheet.

    Did you consider loading the parsed file directly or loading as it is and then using TextToColumns to create a range of columns?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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] Different ways of using Range: I don't understand the difference
    By konx in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-15-2015, 09:49 AM
  2. [SOLVED] cannot understand error with range handling
    By fredderf81 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-12-2013, 03:58 PM
  3. [SOLVED] trying to understand why a code is not working "error 9 subscript out off range"
    By cdafonseca in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-09-2013, 12:33 PM
  4. [SOLVED] Don't understand & sign for date range search in formula, is this correct?
    By boo1952 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-14-2012, 12:24 PM
  5. A formula to understand range and apply criteria
    By ChrisE in forum Excel General
    Replies: 4
    Last Post: 09-22-2011, 01:01 AM
  6. Don't understand error with Range()
    By achinfish in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-28-2007, 09:08 PM
  7. Replies: 1
    Last Post: 09-18-2007, 02:07 PM

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