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

Sheetoffset - alternatives ?

$
0
0
Hello,

I have macro for creating new sheets, with copy method. After creating sheets I use Sheetoffset UDF function to paste formula which displays value from cells in previous sheet.

This Sheetoffset function works, but looks like It's a hard-code operation, so my macro takes 10-12 seconds to finish. I'm trying to find a substitute for Sheetoffset function that would perform quicker. Without that function my macro finishes in around 3 seconds.


Formulas are simple, example fo AJ5 with sheetoffset :
Quote:

=sheetoffset(-1;A5)
Formulas need to be in range of AJ5:AJ318 with step 4, cells which need to be referred are in range A5:318 with same step.


Anybody have any better ideas ?

Viewing all articles
Browse latest Browse all 49948

Trending Articles