+ Reply to Thread
Results 1 to 9 of 9

autofill a range with a formula that uses a wildcard (asterisk)

  1. #1
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    autofill a range with a formula that uses a wildcard (asterisk)

    I'm trying to autofill a range with the following formula:

    Please Login or Register  to view this content.
    But the wildcard is giving me trouble. How can I make this work?

    Please Login or Register  to view this content.

    Thanks for the help

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: autofill a range with a formula that uses a wildcard (asterisk)

    Maybe like this?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: autofill a range with a formula that uses a wildcard (asterisk)

    I get an "Object variable or With block variable not set" error.

    This is the code I tried:

    Please Login or Register  to view this content.

    I have attached a simple workbook if that helps
    Attached Files Attached Files
    Last edited by perducci; 10-01-2012 at 02:40 PM. Reason: added workbook

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: autofill a range with a formula that uses a wildcard (asterisk)

    Hi perducci

    At a minimum I'd think you need to add this line
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: autofill a range with a formula that uses a wildcard (asterisk)

    I still seem to get an error

  6. #6
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: autofill a range with a formula that uses a wildcard (asterisk)

    I still need help with this one! Is there a solution????

    See the excel attachment for an example

  7. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: autofill a range with a formula that uses a wildcard (asterisk)

    Hi perducci

    Try this...it seems to work for me.
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: autofill a range with a formula that uses a wildcard (asterisk)

    That looks great, thank you thank you thank you!!!!

  9. #9
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: autofill a range with a formula that uses a wildcard (asterisk)

    Hi perducci

    You're welcome...glad I could help. Thanks for the Rep.

+ 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