+ Reply to Thread
Results 1 to 6 of 6

Remove blank cells for picking slip

  1. #1
    Registered User
    Join Date
    10-23-2018
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    3

    Remove blank cells for picking slip

    Hi all,

    I need to create a picking slip that only lists the 'products' and the corresponding value and remove "products" where the value is 0(Zero).

    I need help creating VBA/Macro that removes these empty rows and its corresponding cell. Please see the attached Products1 Excel Screenshot and then Products2 Word Screenshot for more information.

    This is my first post and I class myself as a beginner in VBA/Macro and I would love to hear back from this forum so I can expand my knowledge.

    Thanks

    Minya
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Remove blank cells for picking slip

    The following is a quick example of what you're looking for, the important bit is the xCol For Loop, how you then format and output can then be added.

    Please Login or Register  to view this content.
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    10-23-2018
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Remove blank cells for picking slip

    Thank you PjWhitfield for your prompt response. I will give it a go and see how I end up. Learning to code, as a beginner, is really frustrating but rewarding when it all works out. - It's a different way of thinking. Thanks again.

  4. #4
    Registered User
    Join Date
    10-23-2018
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Remove blank cells for picking slip

    Hi PJWhitfield,

    I have tried to use that code but get an brake error. Can I please have some additional help?

  5. #5
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Remove blank cells for picking slip

    What error do you get?

  6. #6
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,256

    Re: Remove blank cells for picking slip

    One way not test
    Please Login or Register  to view this content.
    Last edited by daboho; 10-25-2018 at 06:22 AM.

+ 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] Not picking up blank cells when using drop down list
    By Jones90 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-08-2018, 09:10 AM
  2. Replies: 9
    Last Post: 11-23-2016, 12:22 PM
  3. [SOLVED] Dynamic Chart ranges are picking the blank cells as these contain formula
    By controlfreak in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-28-2014, 04:15 AM
  4. [SOLVED] Looking to skip cells that are blank and start picking up data where it starts???
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-10-2013, 02:29 AM
  5. Replies: 5
    Last Post: 08-26-2013, 06:26 PM
  6. Pie Chart Legend Picking Up Blank Cells
    By simmo86 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-25-2009, 10:48 AM
  7. [SOLVED] remove routing slip
    By Jo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2005, 06:05 AM

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