+ Reply to Thread
Results 1 to 4 of 4

Hi, can somebody explain the macro code for me?

  1. #1
    Registered User
    Join Date
    07-17-2014
    Location
    Atlanta, GA, USA
    MS-Off Ver
    2010
    Posts
    3

    Hi, can somebody explain the macro code for me?

    I have a question from my work. I need to select a few cells from a huge group of numbers in excel.
    I need to do this by using macro code.
    And when I was learning macro, I saw a code like the figure attached with the post.
    Can somebody explain it for me, please?mmexport1405218141701.jpg

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Hi, can somebody explain the macro code for me?

    I think I have understand a little bit...

    The code is ... Returning a range... which start from the first cell having value "" in it.. till the last cell having value "" inside it..

    the code is finding the cell containing "" each time and adds that cell to the total range using UNION function...

    when "" is not found in the cell then it return the m_Return range in the result....




    Don't forget to click *

  3. #3
    Registered User
    Join Date
    07-17-2014
    Location
    Atlanta, GA, USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Hi, can somebody explain the macro code for me?

    thanks for explaining to me.
    but I have a sentence which I'm really confused about it.
    "Set m_cell = argRange. Find ("". m_Cell. SearchFormat: =True)"
    what is this code for?
    Thank you.

  4. #4
    Registered User
    Join Date
    07-17-2014
    Location
    Atlanta, GA, USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Hi, can somebody explain the macro code for me?

    Quote Originally Posted by Vikas_Gautam View Post
    I think I have understand a little bit...

    The code is ... Returning a range... which start from the first cell having value "" in it.. till the last cell having value "" inside it..

    the code is finding the cell containing "" each time and adds that cell to the total range using UNION function...

    when "" is not found in the cell then it return the m_Return range in the result....




    Don't forget to click *

    thanks for explaining to me.
    but I have a sentence which I'm really confused about it.
    "Set m_cell = argRange. Find ("". m_Cell. SearchFormat: =True)"
    what is this code for?
    Thank you.

+ 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. Explain code
    By josros60 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-04-2014, 12:33 AM
  2. Can some one explain this code for me ?
    By chriskingkiller in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2013, 02:14 PM
  3. Can some one explain this code for me ?
    By chriskingkiller in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2013, 12:41 AM
  4. Help Explain this Code
    By khalid79m in forum Excel General
    Replies: 1
    Last Post: 11-27-2008, 06:09 AM
  5. Hard to explain - Excel Macro Code
    By Amanda Knott in forum Excel General
    Replies: 3
    Last Post: 05-17-2006, 06:10 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