silverbullet2207
New Member
- Joined
- Nov 30, 2019
- Messages
- 3
- Office Version
- 2016
- Platform
- Windows
I'm currently trying to build out a somewhat automated worksheet where questions are answered in cells on a tab, that drives row/column visibility on the same tab, as well as subsequent tabs using VBA. I've been working on this over the past several weeks and at some point, the file size went from approx. 200-400 kb to 2.9 mb, then later, to 5.6 mb.
After exploring some google results, I came across users having a similar issue due to the "Used range" of tabs using all 10 million rows. After performing a query to find out the used range on 2 of my tabs, I saw that the range was using entire columns as the used range (example columns A:H).
I've tried selecting all rows below my data and deleting the rows out entirely several different ways (using delete sheet rows from the "cells" area, using "ctrl" and "+", and right clicking next to all of the selected rows and clicking delete), to no avail. I'm not sure
I haven't been able to find a way to manually reset the "used range", but I'm fairly certain this is the cause of my speed/size issue.
Additional information: I determined the used range was using entire columns by going to the VBA editor and typing "?activesheet.usedrange.address" in the immediate window (opened using ctrl + G.
Thanks for any help/ideas in advanced, please let me know if any additional info is needed.
After exploring some google results, I came across users having a similar issue due to the "Used range" of tabs using all 10 million rows. After performing a query to find out the used range on 2 of my tabs, I saw that the range was using entire columns as the used range (example columns A:H).
I've tried selecting all rows below my data and deleting the rows out entirely several different ways (using delete sheet rows from the "cells" area, using "ctrl" and "+", and right clicking next to all of the selected rows and clicking delete), to no avail. I'm not sure
I haven't been able to find a way to manually reset the "used range", but I'm fairly certain this is the cause of my speed/size issue.
Additional information: I determined the used range was using entire columns by going to the VBA editor and typing "?activesheet.usedrange.address" in the immediate window (opened using ctrl + G.
Thanks for any help/ideas in advanced, please let me know if any additional info is needed.