+ Reply to Thread
Results 1 to 2 of 2

Macro to Zip large worrkbook not working

  1. #1
    Forum Contributor
    Join Date
    04-28-2013
    Location
    Miami, United States
    MS-Off Ver
    Excel 365 (Newest version)
    Posts
    254

    Macro to Zip large worrkbook not working

    Can anyone help me with my coding...I am trying to zip a large workbook but it keeps giving me a run time error "Sub or Function not defined" Can anyone help me with that..

    I've written the code below:

    I've also placed in a dummy sheet

    Please Login or Register  to view this content.

    Any help will be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Macro to Zip large worrkbook not working

    I didn't look at your workbook, but you probably missed to copy the sub NewZip.
    Please Login or Register  to view this content.
    If it is not an absolute must to zip the workbook, one alternative is to simply save it as an .xlsb workbook.

    I did a small testing to one large file that I have, in different formats and their zipped versions, and compared their file sizes. The best zipped file size is .xls but it's too troublesome and takes too long to do so.

    Saving my file in .xlsb gave me a significantly smaller file size compared to .xlsx and zipping it further is not necessary for me. And fast.

    Original size Zipped size
    .xls 151,270KB 11,864KB
    .xlsx 47,880KB 39,501KB
    .xlsm 47,880KB 39,502KB
    .xlsb 18,084KB 16,323KB
    多么想要告诉你 我好喜欢你

+ 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. Macro working on small data , large not
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-16-2014, 12:56 PM
  2. Multiple Form Instance in Same Worrkbook
    By britinva in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-12-2014, 02:55 PM
  3. Working with large sets of data
    By Bishonen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 06:19 AM
  4. trim macro not working properly on large file
    By bernie1961 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2008, 09:38 AM
  5. [SOLVED] working with large text files
    By mark in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-12-2005, 12: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