Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50085

File size gets incresed after running the macro

$
0
0
Hi,
I have a macro which does the below work.
1. Pulls data using web query from website.
2. Copies data from sheet 1 to sheet 2 using autofilter. i.e. I am filtering the sheet 1, selecting only data that has "Reopen" defects. (Filter criteria = Re-open)
3. Create a temp file with the above records and attach the excel file to email.

Here my excel file size got increased to 9 MB after i added the macro for step 2 (see above). Earlier i did not have this code and my excel file worked fine without any increase in size.. Can anybody help me here plssss....

Thanks,
RK

Viewing all articles
Browse latest Browse all 50085

Trending Articles