Closed Thread
Results 1 to 6 of 6

VBA Code to Copy Non Blanks/Cells with Values until Formula returns as blank

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    91

    VBA Code to Copy Non Blanks/Cells with Values until Formula returns as blank

    I have a code below that almost captures what I need to do but needs adjustment. I need to copy all the cells that return with values in column S copying the entire row from S:AE and pasting it to Screenshot Cell A1 or A2 after headers. Thanks.


    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: VBA Code to Copy Non Blanks/Cells with Values until Formula returns as blank

    Your code is looking for blanks, your title reads non blanks.

    Do your formulas return blanks or zeros?

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    91

    Re: VBA Code to Copy Non Blanks/Cells with Values until Formula returns as blank

    So I revised what I need now. What I need is to check if a particular cell has value, if it contains value, we go to Imagine tab and filter B12 for the account or value of cell e39 of macro. A12:m12(headers). everything works well from there now i need to copy the row (a:m) after filtering for the account and pasting it as values in sheet1
    Please Login or Register  to view this content.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: VBA Code to Copy Non Blanks/Cells with Values until Formula returns as blank

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    07-11-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    91

    Re: VBA Code to Copy Non Blanks/Cells with Values until Formula returns as blank

    I'm kinda lost in your site

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: VBA Code to Copy Non Blanks/Cells with Values until Formula returns as blank

    Quote Originally Posted by FLani View Post
    I'm kinda lost in your site
    Not sure what you mean, you have changed your original question and have just added confusion. This thread will be closed, please start a new thread and if possible attach a sample workbook.

Closed 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