aubergenie
New Member
- Joined
- Mar 12, 2010
- Messages
- 2
Hi all,
I am very inexperienced with macros, but had a strange idea about writing animations in Excel by writing an automated scroll (please humour me!). For the animation to work, the cells must be scrolled through visibly. I have done this successfully using a continuation of the following but obviously this uses many lines of coding.
Sheets("Sheet1").Select
Range("A1:S36").Select
ActiveWindow.SmallScroll Down:=36
Sheets("Sheet1").Select
Range("A37:S72").Select
ActiveWindow.SmallScroll Down:=36
Sheets("Sheet1").Select
Range("A73:S108").Select
ActiveWindow.SmallScroll Down:=36
I would imagine that there is an incredibly simple loop that I could use. I would like it to stop at the bottom of a sheet. Please could you help?
Any other animation suggestions gratefully received.
Lots of thanks!
I am very inexperienced with macros, but had a strange idea about writing animations in Excel by writing an automated scroll (please humour me!). For the animation to work, the cells must be scrolled through visibly. I have done this successfully using a continuation of the following but obviously this uses many lines of coding.
Sheets("Sheet1").Select
Range("A1:S36").Select
ActiveWindow.SmallScroll Down:=36
Sheets("Sheet1").Select
Range("A37:S72").Select
ActiveWindow.SmallScroll Down:=36
Sheets("Sheet1").Select
Range("A73:S108").Select
ActiveWindow.SmallScroll Down:=36
I would imagine that there is an incredibly simple loop that I could use. I would like it to stop at the bottom of a sheet. Please could you help?
Any other animation suggestions gratefully received.
Lots of thanks!