Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这段代码有什么问题?
Target.Validation.Formula1 = ActiveCell.Offset(0, -1).Formula
对不起,我是excel vba的新手
该属性Validation.Formula1是只读的,无法写入。见这里:http: //msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.validation.formula1.aspx
Validation.Formula1