+ Reply to Thread
Results 1 to 3 of 3

Macro with a variable that finds empty cell in a row

  1. #1
    Registered User
    Join Date
    06-25-2007
    Posts
    17

    Macro with a variable that finds empty cell in a row

    Hi everyone,

    I never did a macro with a variable and don't know VBA that well. I always record my macros.

    I think this one could be an easy one. Can you help?

    Column G has cells with values and cells that are empty.

    I sort by column G (A to Z), pushes the rows with empty cells in this column to the bottom of list. I then need to cut all these rows with the empty cells in this column (G). Finally I would like the macro to create a new worksheet, name it "Norp", then paste these fields in the "Norp" workesheet.

    Very grateful to anyone that help me. Thanks again.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Macro with a variable that finds empty cell in a row

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    06-25-2007
    Posts
    17

    Re: Macro with a variable that finds empty cell in a row

    Good call RoyUK.

    Attached is my example with the details.

    Looking forward to it.

    Thanks!
    Attached Files Attached Files

+ 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