+ Reply to Thread
Results 1 to 3 of 3

How to select the selective no using VBA

  1. #1
    Registered User
    Join Date
    03-06-2019
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    79

    How to select the selective no using VBA

    Hi

    Can you please tell me whats wrong with this code Iam trying to select the data by selecting the specific no's but i have multiple no which i want to select using VBA.

    Sub Condition2()
    Worksheets("ABC").Range("U1").AutoFilter Field:=21, Criteria1:="1296", Operator:=xlAnd, Criteria2:="6264", Operator:=xlAnd, Criteria3:="2532"
    End Sub

    Its giving error 1004.

    I want to delete the numbers from data which i specified in code


    Thanks
    Last edited by A9kurs; 08-26-2019 at 01:53 PM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,790

    Re: How to select the selective no using VBA

    How about
    Please Login or Register  to view this content.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: How to select the selective no using VBA

    Administrative Note:

    Welcome to the forum A9kurs

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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] Selective SUM
    By bryan444 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-11-2013, 01:24 PM
  2. Replies: 5
    Last Post: 12-11-2012, 05:04 AM
  3. Selective delete using VBA
    By ckattookaran in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-20-2010, 08:03 AM
  4. Selective sorting
    By drgogo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-30-2009, 03:11 AM
  5. Selective Dropdowns
    By Cortlyn in forum Excel General
    Replies: 4
    Last Post: 02-13-2009, 10:26 AM
  6. Selective filtering
    By gilbert in forum Excel General
    Replies: 4
    Last Post: 03-25-2008, 10:19 AM
  7. SELECTIVE DELETE
    By jhemley@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2006, 05:50 PM
  8. [SOLVED] selective protection
    By Nospam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2006, 05:30 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