N
neuropunk
Greetings,
Summary:
I essentially have Excel with a huge Macro that imports/exports (not
traditional excel import/export) various data and formats it (layout,
coloring, etc.) accordingly. The problem is that even when I do an
"import" process, and there's the same data on the backend, the
modified sheet (all imports in one sheet) will look exactly the same,
but when I save it, it'll grow.
I thought it was the 'used range', but I followed that trick (deleting
everything past end cell), and that didn't really help me.
This might help debugging. I have two approaches that I do formatting:
1.
I delete all the old data (clearAll). I then add everything and
'delete' relevent rows/cols and have it shift over. I don't like this
approach, since it causes any cell references to shift if linking in.
(I know I can use INDIRECT, but I'd like a more natural approach).
This approach doesn't grow with repeated imports/saving.
2.
I delete all the old data (clearAll). This method, instead of deleting
and shifting to align data, I will copy and paste, and then do a "soft"
delete of the irrelevant data (no shifting).
This approach causes growing with repeated imports/saving (even with
the same data on the backend).
Does anybody have any ideas?
If possible, I'd prefer to use #2, as it's a way of avoiding the usage
of INDIRECT, but the file is growing too quickly. As an example of the
growth of #2, in KB: 318 -> 398 -> 561 -> 889 -> 1500 -> 2780
Thanks!
Nam
Summary:
I essentially have Excel with a huge Macro that imports/exports (not
traditional excel import/export) various data and formats it (layout,
coloring, etc.) accordingly. The problem is that even when I do an
"import" process, and there's the same data on the backend, the
modified sheet (all imports in one sheet) will look exactly the same,
but when I save it, it'll grow.
I thought it was the 'used range', but I followed that trick (deleting
everything past end cell), and that didn't really help me.
This might help debugging. I have two approaches that I do formatting:
1.
I delete all the old data (clearAll). I then add everything and
'delete' relevent rows/cols and have it shift over. I don't like this
approach, since it causes any cell references to shift if linking in.
(I know I can use INDIRECT, but I'd like a more natural approach).
This approach doesn't grow with repeated imports/saving.
2.
I delete all the old data (clearAll). This method, instead of deleting
and shifting to align data, I will copy and paste, and then do a "soft"
delete of the irrelevant data (no shifting).
This approach causes growing with repeated imports/saving (even with
the same data on the backend).
Does anybody have any ideas?
If possible, I'd prefer to use #2, as it's a way of avoiding the usage
of INDIRECT, but the file is growing too quickly. As an example of the
growth of #2, in KB: 318 -> 398 -> 561 -> 889 -> 1500 -> 2780
Thanks!
Nam