Allan8514096
New Member
- Joined
- May 6, 2013
- Messages
- 14
Re: clear certain cells in a row (on 2 sheets) based on a cell value
Hi all,
I have a workbook which contains the contents of medical packs. It has 2 sheets of relevance:
STRAT Consolidated -Contains bulk of data
Ordering -Contains copies of other sheet cells filtered to only show rows where sheet!"STRAT Consolidated" rowM=Y plus some new columns
What i need to achieve is the following:
IF STRAT Consolidated!T3 = Yes THEN (in cell dropdown list restricted to "Yes" or blank)
Message.Box "Are you sure? Completing this order will clear this information. This process is irreversible" YES/NO
IF No exit process
IF Yes proceed
THEN clear cells
Ordering!K3,L3,M3,N3
STRAT Consolidated!M3,T3
(note the cell clears itself at the end)
End
Note this only applies to Row3, part i have difficulty in finding info on is how to easily replicate this for (and keep limited to) each proceeding row 4-10,000).
If easier some sort of hyperlink type in cell button in STRAT Consolidated!T3 would be acceptable too
Im not sure if this is best achieved through formula, vba or another method.
I have a sample file to attach but havent found how.
Any help would be greatly appreciated!!!
Hi all,
I have a workbook which contains the contents of medical packs. It has 2 sheets of relevance:
STRAT Consolidated -Contains bulk of data
Ordering -Contains copies of other sheet cells filtered to only show rows where sheet!"STRAT Consolidated" rowM=Y plus some new columns
What i need to achieve is the following:
IF STRAT Consolidated!T3 = Yes THEN (in cell dropdown list restricted to "Yes" or blank)
Message.Box "Are you sure? Completing this order will clear this information. This process is irreversible" YES/NO
IF No exit process
IF Yes proceed
THEN clear cells
Ordering!K3,L3,M3,N3
STRAT Consolidated!M3,T3
(note the cell clears itself at the end)
End
Note this only applies to Row3, part i have difficulty in finding info on is how to easily replicate this for (and keep limited to) each proceeding row 4-10,000).
If easier some sort of hyperlink type in cell button in STRAT Consolidated!T3 would be acceptable too
Im not sure if this is best achieved through formula, vba or another method.
I have a sample file to attach but havent found how.
Any help would be greatly appreciated!!!