作者:乔山办公网日期:
返回目录:excel表格制作
在来Click事件代码最源后加条命令百,选中某度单元格,使按问钮失去焦点。答
Private Sub CommandButton1_Click()
.......
....
.....
[d3].Select
End Sub
通过ll命令可以查看一个目录下的文件和子目录的属性和大小,e68a84e79fa5e98193364以下面的例子讲解:
[root@localhost ~]# ll
total 88
-rw-r--r-- 1 root root 1022 Feb 13 16:07 anaconda-ks.cfg
drwxr-xr-x 2 root root 4096 Feb 13 16:07 Desktop
-rw-r--r-- 1 root root 49229 Feb 13 16:07 install.log
-rw-r--r-- 1 root root 5133 Feb 13 16:06 install.log.syslog
-rw-r--r-- 1 root root 7 May 2 05:28 test
[root@localhost ~]#
我以其中一行讲解:
-rw-r--r-- 1 root root 1022 Feb 13 16:07 anaconda-ks.cfg
-rw-r--r-- 1 root root 1022这些都是文件的属性,包括文件的属主、属组和其他组的权限,属主和属组的名称,1022表示文件的大小,Feb 13 16:07是文件的修改时间。
至于被谁修改过是看不出来的。
if optionbutton1.value=true then
label9.caption=[a1]
elseif optionbutton2.value=true then
label9.caption=[a2]
放到第二copy个事件中zd
点击zhidao视图-工具栏-visual basic,出来的工具栏有个设计模式,点击设计模式后,双击按钮就可以查到属性代码了回,如果代码写到了模块答里,那就点工具栏visual basic编辑器,进去查看模块里的代码