+ Reply to Thread
Results 1 to 4 of 4

Macro to save defined region excluding blank cells

  1. #1
    Registered User
    Join Date
    03-22-2022
    Location
    Latvia
    MS-Off Ver
    2013
    Posts
    2

    Macro to save defined region excluding blank cells

    Hello.

    Currently I'm writing a program in excel which I use to generate code for waterjet cutter. Everything is fine except one thing:
    I have macro inside my excel file which exports preselected region of data into *.txt file, it works, but now I need little upgrade for it.
    Is it possible to alter given macro so it outputs same region of data, but ignores blank cells or filled with space?
    Mocros are not my strong side.

    Macro I'm using:
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,381

    Re: Macro to save defined region excluding blank cells

    If you only look at J26:J86:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-22-2022
    Location
    Latvia
    MS-Off Ver
    2013
    Posts
    2

    Re: Macro to save defined region excluding blank cells

    I'm grateful to you, sir. Macro works and does exactle what I need it to do.
    All the best to you!

  4. #4
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,381

    Re: Macro to save defined region excluding blank cells

    You’re welcome!

+ 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. Save as csv with macro but not cells that have blank value
    By unclejemima in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 02-28-2018, 07:30 PM
  2. [SOLVED] Need to loop a macro to save images to file - but save to user defined directory.
    By superfurry in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-19-2015, 07:49 AM
  3. [SOLVED] Select Current Region Excluding the top row
    By forrestgump1980 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-04-2015, 11:31 AM
  4. A Macro to Apply the PROPER Function, whislt Excluding User Defined Words
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2015, 12:40 PM
  5. Select current region except blank cells
    By mgblair in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-02-2015, 09:51 AM
  6. Macro to move horizontal data to vertical - in new sheet--excluding blank cells
    By Jackdaddy0711 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2012, 12:54 PM
  7. Replies: 1
    Last Post: 10-04-2007, 12:04 PM

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