+ Reply to Thread
Results 1 to 16 of 16

it is not display any output when i run macro

  1. #1
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    it is not display any output when i run macro

    In excel sheet i am trying to search and copy searched data

    there is row name called result on next row of that i want to search and automatically copy on that rows

    it is possible

    i have attached my sheet
    please help me


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by baig123; 09-09-2014 at 07:22 AM. Reason: paragraph

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: it is not display any output when i run macro

    Please Login or Register  to view this content.
    you need a space after pasteSpecial and use xl instead of x1

    like this

    Please Login or Register  to view this content.
    Also, you are looking in the wrong column, did you need to post to find that out???, using column A instead of B

    so

    Please Login or Register  to view this content.
    Last edited by nathansav; 09-09-2014 at 07:22 AM.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: it is not display any output when i run macro

    thanks

    but still i am not getting any output

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: it is not display any output when i run macro

    I ran it and did.

  5. #5
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: it is not display any output when i run macro

    i am sorry

    but still i am not getting any output

  6. #6
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: it is not display any output when i run macro

    Can you post your changed code.

  7. #7
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: it is not display any output when i run macro

    He also had Formula spelled wrong in PasteSpecialx1pasteformilasandnumberformats
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

  8. #8
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: it is not display any output when i run macro

    Yes, i covered that earlier.

  9. #9
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: it is not display any output when i run macro

    No you didn't. You said he needed a space and to change X1 to XL, you did not mention the spelling. I guess you did correct it for him when you said "like this", just didn't mention it I guess.

  10. #10
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: it is not display any output when i run macro

    see this have changed the code



    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: it is not display any output when i run macro

    Were you searching for belt? What column is it you want to search on? Belt isnt in column B

    My code was

    Please Login or Register  to view this content.
    you need to use

    Please Login or Register  to view this content.

  12. #12
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: it is not display any output when i run macro

    I get what you are trying to search (search for BELT within the column D) but what are you trying to return? This was my best guess.

    Please Login or Register  to view this content.

  13. #13
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: it is not display any output when i run macro

    Baig, you really need to explain your posts more.

  14. #14
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: it is not display any output when i run macro

    Agreed!

  15. #15
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: it is not display any output when i run macro

    COLUMN D

    seraching and copying it in the cell g6 in the same sheet
    Last edited by baig123; 09-10-2014 at 05:02 AM. Reason: paragraph

  16. #16
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: it is not display any output when i run macro

    Thanks for sharing ur knowledge

+ 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. checck and display the correspondence output
    By gurum in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 08:00 AM
  2. Variable Print Output (display as well if possible)
    By Pherion in forum Excel General
    Replies: 2
    Last Post: 07-02-2012, 03:15 PM
  3. [SOLVED] How to look up two values then display an output?
    By ohlalayeah in forum Excel General
    Replies: 1
    Last Post: 06-04-2012, 01:53 AM
  4. Excel 2007 : Display output from a row of data
    By MarginofBuffett in forum Excel General
    Replies: 9
    Last Post: 11-18-2010, 09:07 PM
  5. Macro Message box doesn't display output?
    By Krustee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-07-2005, 09:05 PM

Tags for this Thread

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