Hi,
Basically I've got this code:
Which calls another macro if the cell in D has a value in it, how do I get this code to carry on in sequence for say 100 cells (or any number I specify).Please Login or Register to view this content.
Thanks
Hi,
Basically I've got this code:
Which calls another macro if the cell in D has a value in it, how do I get this code to carry on in sequence for say 100 cells (or any number I specify).Please Login or Register to view this content.
Thanks
Last edited by Paul; 07-02-2010 at 09:56 PM. Reason: Added code tag for user, please do so yourself in the future.
This is one way.
Selecting cells causes complications, so this only Selects if necessary. I suspect that the macro breakeven could be sped up by removing the selection.
Please Login or Register to view this content.
_
...How to Cross-post politely...
..Wrap code by selecting the code and clicking the # or read this. Thank you.
Thanks it worked I just had change your line to Cells(i,4).Select to Cells(i,15).Select as it selects a different cell, should have pointed that out though. My shoddy programming it's my first macro but its working.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks