+ Reply to Thread
Results 1 to 17 of 17

Export Each Excel Row as Separate JPG Files

  1. #1
    Registered User
    Join Date
    09-12-2019
    Location
    Bnagladesh
    MS-Off Ver
    2013
    Posts
    41

    Export Each Excel Row as Separate JPG Files

    It seems very old post, but my requirement exactly is same, I just want the output in image format like as jpg.
    when I open the jpg file the output file has nothing in it.

    Can someone help on this?
    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 12-01-2019 at 05:18 AM.

  2. #2
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Export Each Excel Row as Separate JPG Files

    This code will convert the selected range to image
    Attached Files Attached Files
    Last edited by saravnepali; 12-04-2019 at 10:25 PM.
    If you think someone helped you, click on the "* Add Reputation" as a way to say thank you.

    If your problem is solved, go to Thread Tools and select Mark This Thread Solved

  3. #3
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,333

    Re: Export Each Excel Row as Separate JPG Files

    @saravnepali

    Your Filename has invalid characters so your code goes into debug upon Save.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  4. #4
    Registered User
    Join Date
    09-12-2019
    Location
    Bnagladesh
    MS-Off Ver
    2013
    Posts
    41

    Re: Export Each Excel Row as Separate JPG Files

    Quote Originally Posted by saravnepali View Post
    This code will convert the selected range to image
    Thanks for your response, but I'm not looking for this.

  5. #5
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Export Each Excel Row as Separate JPG Files

    What do you want, isn't it you need output as a JPG file ?????

  6. #6
    Registered User
    Join Date
    09-12-2019
    Location
    Bnagladesh
    MS-Off Ver
    2013
    Posts
    41

    Re: Export Each Excel Row as Separate JPG Files

    I want each row to be a separate image with the header row/1st row.
    Also out put should be in a folder, not in the same xl sheet.

  7. #7
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Export Each Excel Row as Separate JPG Files

    Which folder - this can be just simply changed on the same code.

  8. #8
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,333

    Re: Export Each Excel Row as Separate JPG Files

    Post an example file with your exact layout.

  9. #9
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Export Each Excel Row as Separate JPG Files

    Check this

    Change the folder name to suit
    Attached Files Attached Files
    Last edited by saravnepali; 12-05-2019 at 05:57 AM.

  10. #10
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Export Each Excel Row as Separate JPG Files

    Quote Originally Posted by bakerman2 View Post
    @saravnepali

    Your Filename has invalid characters so your code goes into debug upon Save.
    bakerman,

    Tried to copy the VBA code to notepad and then paste the code in the browser.

    Still shows the error

  11. #11
    Registered User
    Join Date
    09-12-2019
    Location
    Bnagladesh
    MS-Off Ver
    2013
    Posts
    41

    Re: Export Each Excel Row as Separate JPG Files

    Quote Originally Posted by saravnepali View Post
    Check this

    Change the folder name to suit
    Thanks, its nice now.
    Is it possible to add the 1st row header with each row?
    Like as
    1st row+2nd row one image,
    1st row+3rd row is another image & go on..

  12. #12
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Export Each Excel Row as Separate JPG Files

    See attached variation

    I have hidden the unwanted rows

    Please note that if you have large number of rows, it might slow the system down.
    Attached Files Attached Files

  13. #13
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,333

    Re: Export Each Excel Row as Separate JPG Files

    My 2 cents.

    Just change fPATHout to the correct foldername.

    Please Login or Register  to view this content.

  14. #14
    Registered User
    Join Date
    09-12-2019
    Location
    Bnagladesh
    MS-Off Ver
    2013
    Posts
    41

    Re: Export Each Excel Row as Separate JPG Files

    Quote Originally Posted by bakerman2 View Post
    My 2 cents.

    Just change fPATHout to the correct foldername.

    Please Login or Register  to view this content.
    Need to adjust image size as per the column & row height.
    Present output is as below.

    Attachment 652769

  15. #15
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,333

    Re: Export Each Excel Row as Separate JPG Files

    Invalid attachment.

    Also please don't quote when answering to a post directly above. It's just clutter.
    Last edited by bakerman2; 12-05-2019 at 09:43 AM.

  16. #16
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,465

    Re: Export Each Excel Row as Separate JPG Files

    Cross posted here...

    https://www.mrexcel.com/board/thread...2#post-5380411

    where I provided a working solution but the OP outlined a problem in Message #16 (at that other forum) which I am not sure he has delineated here.



    I am not sure if this duplicates anything posted here so far, but for the record, here is the solution I provided in that other forum...
    Please Login or Register  to view this content.

  17. #17
    Registered User
    Join Date
    09-12-2019
    Location
    Bnagladesh
    MS-Off Ver
    2013
    Posts
    41

    Re: Export Each Excel Row as Separate JPG Files

    @Rick Rothstein

    Hello dear, hope your are fine.

    If you noticed the first /beginning post of the thread, then you would not make this comments, you should realized that I have made a comments in another thread (very old) & from there this thread has been started. I didn't make this thread myself, it created automatically or by the system--> "Last edited by JBeaucaire; 12-01-2019 at 03:18 PM." see this point.

    After making the comments in that old thread, I haven't got any reply & then I post in MrXL & got your help, I appreciate that time & even I do now.
    But question is , why I continue this thread when I have your solution, right?

    Its because, I have given you my feedback on your code that when I run your code , its always missing some row. So I thought let, see if I got another solution to avoid this problem here, as it has been going on.

    Hope its clear enough.

    Lastly, thanks again.

+ 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. Export Worksheets As Separate Tab Delimited Text Files
    By etudes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-14-2018, 06:51 PM
  2. [SOLVED] Export Each Excel Row as Separate Files with Header Row
    By biggummy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-23-2016, 10:25 AM
  3. Export Columns to separate Text files
    By murtly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2014, 08:25 AM
  4. Simple Macro to Export Each Cell as Separate Files
    By Moop in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2013, 12:55 PM
  5. Replies: 0
    Last Post: 11-09-2009, 09:57 AM
  6. split it into groups of 100 and export it to separate .csvs or text files
    By Shaunclippo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2006, 01:40 PM
  7. [SOLVED] Open Excel files in separate sessions, not just separate windows?
    By Bob at Dexia Design in forum Excel General
    Replies: 1
    Last Post: 10-18-2005, 01:05 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