Access Beginner
Active Member
- Joined
- Nov 8, 2010
- Messages
- 311
- Office Version
- 2016
- Platform
- Windows
I’m looking to format a range of cells based on a value in othercells.
On the “Menu” sheet I have the following table
[TABLE="width: 298"]
<tbody>[TR]
[TD="width: 231, bgcolor: transparent, colspan: 2"] Menu Sheet
[/TD]
[TD="width: 167, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] Cell
[/TD]
[TD="width: 142, bgcolor: transparent"] Measure
[/TD]
[TD="width: 167, bgcolor: transparent"] Number Format
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A119
[/TD]
[TD="width: 142, bgcolor: transparent"] T1.1
[/TD]
[TD="width: 167, bgcolor: transparent"] $
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A120
[/TD]
[TD="width: 142, bgcolor: transparent"] T1.2
[/TD]
[TD="width: 167, bgcolor: transparent"] %
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A121
[/TD]
[TD="width: 142, bgcolor: transparent"] T1.3
[/TD]
[TD="width: 167, bgcolor: transparent"] %
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A122
[/TD]
[TD="width: 142, bgcolor: transparent"] T1.4
[/TD]
[TD="width: 167, bgcolor: transparent"] %
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A123
[/TD]
[TD="width: 142, bgcolor: transparent"] T1.5
[/TD]
[TD="width: 167, bgcolor: transparent"] #,###,###
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A124
[/TD]
[TD="width: 142, bgcolor: transparent"] T2.1
[/TD]
[TD="width: 167, bgcolor: transparent"] #,###,###
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A125
[/TD]
[TD="width: 142, bgcolor: transparent"] T2.2
[/TD]
[TD="width: 167, bgcolor: transparent"] %
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A126
[/TD]
[TD="width: 142, bgcolor: transparent"] T2.3
[/TD]
[TD="width: 167, bgcolor: transparent"] #,###,###
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A127
[/TD]
[TD="width: 142, bgcolor: transparent"] T2.4
[/TD]
[TD="width: 167, bgcolor: transparent"] $
[/TD]
[/TR]
[TR]
[TD="width: 89, bgcolor: transparent"] A128
[/TD]
[TD="width: 142, bgcolor: transparent"] T3.1
[/TD]
[TD="width: 167, bgcolor: transparent"] %
[/TD]
[/TR]
</tbody>[/TABLE]
In Cell B119 I have T1.1 and C119 I have the format I wantand so on down to B128.
On the “ISS_Charts” sheet in cells R64,R65,and R66 will havevalues ranging from T1.1 to T3.1. These values will change based on a drop downbox in another cell.
So in R64 if the value is T1.1 I’d like on sheet “ISS_Charts”,cellsC16,D16 and E16 to have the format of $. If R64 has the value of T1.2 I’d like cells,C16,D16and D16 to have the format of $ and so on.
Value in R65 determines the values on sheet “ISS_Charts” cellsC25,D25,E25.
Value in R66 determines the values on sheet “ISS_Charts” cellsC31,D31,E31.
I hope the above makes sense.