Hi!
A previous employee created a Macro but is no longer working for us. When I run his report, I get a an error with the "Selection.FillDown". As a test, I looked at the currently excel file and noticed it had 8792 Rows. This would NOT work. As another test, I took the file from the previous week which had 7963 rows. this did work.
Pop up Error message: Run-time Error '1004': Selection is too large
Sheets("RawData").Select
Range("CountofData").Select
ActiveCell.FormulaR1C1 = "=COUNTA(C[-9])"
Range("CountofData").Select
MyRange = ":Z" & ActiveCell.Value
Sheets("PivotData").Select
Range("A2" & MyRange).Select
Selection.FillDown ****Here is the issue or the yellow highlighted ERROR***
Range("A1").Select
Any help to resolve this issue would be much appreciated!
Thanks
A previous employee created a Macro but is no longer working for us. When I run his report, I get a an error with the "Selection.FillDown". As a test, I looked at the currently excel file and noticed it had 8792 Rows. This would NOT work. As another test, I took the file from the previous week which had 7963 rows. this did work.
Pop up Error message: Run-time Error '1004': Selection is too large
Sheets("RawData").Select
Range("CountofData").Select
ActiveCell.FormulaR1C1 = "=COUNTA(C[-9])"
Range("CountofData").Select
MyRange = ":Z" & ActiveCell.Value
Sheets("PivotData").Select
Range("A2" & MyRange).Select
Selection.FillDown ****Here is the issue or the yellow highlighted ERROR***
Range("A1").Select
Any help to resolve this issue would be much appreciated!
Thanks