christianbiker
Active Member
- Joined
- Feb 3, 2006
- Messages
- 379
Greetings all,
I have part of a macro that I am wondering if a loop can be applied to in order to save me from updating the macro as data is added. The code is below and any assistance would be appreciated. It is part of a bigger macro, but I just need to automate this portion.
There is a pattern of 3 cells on the same line, then it skips 6 rows and the pattern restarts. That pattern must remain constant.
Thanks!
Here is the code:
Set rngCheckRange = Range("A1,C1,E1,A7,C7,E7,A13,C13,E13,A19,C19,E19")
sImageSourceDirectory = "C:\Documents and Settings\Chad\My Documents\"
I have part of a macro that I am wondering if a loop can be applied to in order to save me from updating the macro as data is added. The code is below and any assistance would be appreciated. It is part of a bigger macro, but I just need to automate this portion.
There is a pattern of 3 cells on the same line, then it skips 6 rows and the pattern restarts. That pattern must remain constant.
Thanks!
Here is the code:
Set rngCheckRange = Range("A1,C1,E1,A7,C7,E7,A13,C13,E13,A19,C19,E19")
sImageSourceDirectory = "C:\Documents and Settings\Chad\My Documents\"