+ Reply to Thread
Results 1 to 4 of 4

VBA wildcard help

  1. #1
    Registered User
    Join Date
    03-01-2016
    Location
    New Jersey
    MS-Off Ver
    2013
    Posts
    47

    VBA wildcard help

    Hi all,

    I am having a problem with a VBA code I wrote that needs to look for wildcards values. Can anyone tell me why this is not working as intended? I'm using * as the wildcard value but it still does not seem to work

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: VBA wildcard help

    Hi tfagan,

    * is the correct character, but, you have "LCase" in the code, and then you have a capital (P) instead of a lower case (p) in "Packing" of your comparison string... I suspect that is the reason it does not work?
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Registered User
    Join Date
    03-01-2016
    Location
    New Jersey
    MS-Off Ver
    2013
    Posts
    47

    Re: VBA wildcard help

    Perfect. I can't believe I didn't notice that. Thank you

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: VBA wildcard help

    LOL, sometimes it is the simplest things we miss.... don't know how many times I've done that over the years.
    Glad I could help you fix the issue
    Please remember to mark the thread as solved when you have a moment? Thanks in advance!

+ 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. VBA wildcard help
    By tfagan1978 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2017, 10:43 AM
  2. Find Wildcard, return that Wildcard value?
    By help_me_im_lost in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-08-2014, 01:20 PM
  3. [SOLVED] Find: Using wildcard, but don't replace with wildcard
    By JimDandy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-06-2013, 05:39 PM
  4. [SOLVED] Using 'Name ..... As .....' with a wildcard
    By Iwasiw35 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2012, 09:46 PM
  5. VBA Wildcard
    By SamuelT in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-09-2006, 08:47 AM
  6. [SOLVED] wildcard
    By JOUIOUI in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-31-2006, 08:53 AM
  7. Wildcard
    By fugfug in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-14-2005, 07:34 AM

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