【发布时间】:2010-11-22 06:50:27
【问题描述】:
我是新手,我正在尝试学习 VBA,但我有一个关于此代码的问题: (抱歉英文有误,我不是母语)
Option Explicit
Type rPaciente 'matriz de pacientes
CodPaciente As Long
PriorPaciente As Long
IntvChegDistr As String
Par1 As Double
Par2 As Double
Par3 As Double
Par4 As Double
IntvCheg As Double
InstCheg As Double
End Type
Public mPaciente() As rPaciente
Public glQtdPaciente As Long
Type 和 End Type 之间的这些“东西”是什么,它们是我工作表范围内的单元格,因为我的工作表中有 Par1、Par2、...、Par4 之类的列,但我没有得到名为 IntvCheg 的列既不是 InstCheg。还有Public someting() As otherthing这个命令是什么意思?
提前感谢您的帮助。
【问题讨论】: