当左边的列包含数据时,是否有方法可以自动显示(未隐藏)Excel中的列(2003,2007和/或2010)?在Excel中自动显示(取消隐藏)列
事情是这样的:
IF column to the left contains data
THEN show column
+-----+-----+
| C | C | //If column1 contains data
| O | O | //Then reveal/show (unhide) column2
| L | L |
| U | U |
| M | M |
| N | N |
| 1 | 2 |
+-----+-----+
我猜VB代码是必需的,但我不确定是什么,这将是。
除此之外,有没有一种方法可以自动显示日期(每月的第一天)的列?这有点复杂。例如:
FOR all dates
IF system date = year(month.day1) //If it is the first day of a new month
THEN show column(month) //Then show the corresponding column for that month
ENDIF
ENDFOR
i.e. IF system date = 01/09/2012
THEN show column(September)
这可能吗?
谢谢。
你用VBA代码行吗?问题的第一部分也仅适用于第1列和第2列吗? – Ian 2011-12-15 14:54:23