+ Reply to Thread
Results 1 to 10 of 10

Remove Table Properties from Workbook

  1. #1
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Remove Table Properties from Workbook

    I developed an Excel application to print inventory labels. Unfortunately, when I imported the data from Access I saved the data as a table. This increased the file size from 60K to 38,000K and slowed processing time to a snail's pace. I converted the table to a range and that slightly increased the processing speed but did nothing for the file size.

    Is there a method to remove the table properties and further reduce the process time and file size? I am not fond of the thought of having to copy and paste the VBA, macros and forms to a new workbook.


    Thank you.

    Steven

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Remove Table Properties from Workbook

    What makes you think that the TABLE is the problem - (and I presume you mean the Excel Table object) rather than the volume of data you have in a normal range of cells.

    What is the size, i.e. number of sheets rows and columns in your workbook?

    There's no need to copy and paste VBA code and forms. You can export Modules and forms as .bas and .frm files from within the VBA, then upload them to a new workbook.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Re: Remove Table Properties from Workbook

    Thank you for the reply

    There are only three worksheets to this application.

    Sheet 1 is 12 columns and 225 rows. The data is a combination of text and numbers (currency format) and no formulas.
    Sheet 2 is 16 columns and 35 rows. There is a range of cells 28 x 11 using the formula. . .

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Sheet 3 consists of several named ranges as row source to combo boxes in a user form. There are perhaps 20 total lines of very basic VBA.

    The exponential growth of this application reminds me of something that occurred several years in then past when I converted a range to a data table.


    Steven

  4. #4
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: Remove Table Properties from Workbook

    I created a range of data 30 columns across and 1000 rows. File size was 115K. I turned that data into a table, and file size went up to 118K. I would suspect there's something else going on that would increase the file size to over 600 times larger. Is there an existing link to the Access database? Did the entire Access db get imported?
    If someone helped achieve your solution, consider clicking "* Add Reputation" on their post.

    If your question has been answered, mark the thread as [SOLVED] using the Thread Tools menu at the top of the thread.

  5. #5
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Re: Remove Table Properties from Workbook

    Reviewing "Recent Sources" and "Existing Connections" there is nothing.

    When I exported the data from Access it was only one table not the entire DB. However, I will set up a test.

  6. #6
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Re: Remove Table Properties from Workbook

    Nope! Only the Access Table.

    The features of a table object with this application are unnecessary.

  7. #7
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Remove Table Properties from Workbook

    If you select each sheet in turn and press Ctrl+End, does the cursor jump to a cell a long way past the end of the actual data on any of the sheets?
    Rory

  8. #8
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Re: Remove Table Properties from Workbook

    The current range of data is B2:L223. Using Ctrl-End from B2, the cell selected is P1048576

  9. #9
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Remove Table Properties from Workbook

    That's the reason for the huge file size. Simplest fix is probably just to copy the data only to a new worksheet and delete the original.

  10. #10
    Registered User
    Join Date
    04-01-2019
    Location
    Manitowoc, Wisconsin, USA
    MS-Off Ver
    365
    Posts
    23

    Re: Remove Table Properties from Workbook

    Dropped to 87K.

    Thank you

    Cheers

    Steven

+ 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. how to remove the unwanted zero in a cell in Text properties
    By kwfine in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-11-2017, 02:41 PM
  2. excel macro to remove hidden file properties or personal information
    By genetist in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-20-2015, 07:20 AM
  3. Workbook properties
    By Mecha_Trueno in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2014, 12:38 PM
  4. Replies: 3
    Last Post: 03-22-2013, 01:39 AM
  5. remove read only - not showing up in properties
    By Hakara in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-18-2006, 03:40 PM
  6. XL Workbook Properties
    By chrisan in forum Excel General
    Replies: 1
    Last Post: 09-05-2005, 12:05 PM
  7. Workbook Properties
    By KC8DCN in forum Excel General
    Replies: 1
    Last Post: 06-08-2005, 02:05 PM

Tags for this Thread

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