Craig Farish
New Member
- Joined
- Apr 8, 2011
- Messages
- 5
Hi all
I am fairly new to writing macros and am completely baffled by what you guys know.
I have been reading for hours on various websites etc for something that i could manipulate into what i need but whatever i attempt to do so it fails.
Example:
I have data in a column A,the number of rows in column A varies from from workbook to workbook. I want to loop through the data in this column and whenever the data is greater than 0 i want to add 1 to a specific cell (C4)
The logic seems very simple but i just have no idear how to write this in code.
Any suggestions will be greatly appreciated.
I am fairly new to writing macros and am completely baffled by what you guys know.
I have been reading for hours on various websites etc for something that i could manipulate into what i need but whatever i attempt to do so it fails.
Example:
I have data in a column A,the number of rows in column A varies from from workbook to workbook. I want to loop through the data in this column and whenever the data is greater than 0 i want to add 1 to a specific cell (C4)
The logic seems very simple but i just have no idear how to write this in code.
Any suggestions will be greatly appreciated.