senators40
Technical User
Hi,
I have an excel macro in Excel 2003 and I have 4 labels. The four labels are
Salaries, Land, Buildings, Other If they all have dollars then they all will be shown at .top of 10, 20, 30, 40 etc
However if Land is 0 I want to be able to move buildings to .top of 20, Other to .top of 30 etc.
Or another example Salaries & Buildings are 0 so I only need Land and Other - I want those at .top of 10 & 20.
I think they should be separate labels as I also have this criteria for option buttons as well.
I could write a lot of code to move the items to the correct position but I am pretty sure that there is a way to move the items easier and with less repetition.
Any help would be appreciated.
Thanks,
Jeff
I have an excel macro in Excel 2003 and I have 4 labels. The four labels are
Salaries, Land, Buildings, Other If they all have dollars then they all will be shown at .top of 10, 20, 30, 40 etc
However if Land is 0 I want to be able to move buildings to .top of 20, Other to .top of 30 etc.
Or another example Salaries & Buildings are 0 so I only need Land and Other - I want those at .top of 10 & 20.
I think they should be separate labels as I also have this criteria for option buttons as well.
I could write a lot of code to move the items to the correct position but I am pretty sure that there is a way to move the items easier and with less repetition.
Any help would be appreciated.
Thanks,
Jeff