无法将项目添加到组合框 [英] Can't add items to a combobox

查看:84
本文介绍了无法将项目添加到组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试过以下网站寻求帮助:

  • excel-easy.com
  • sitestory.dk
  • ozgrid.com
  • stackoverflow.com
  • contextures.com
  • microsoft.com

感谢您的帮助!

这是我的代码:

Private Sub FusegearPerformanceUserForm1()
    With FailureComboBox
        .AddItem "japp"
    End With
End Sub


推荐答案

所以,为了完成:

此问题的解决方案是,文件以 XLSX 格式保存,不能包含VBA代码。将文件保存为 XLSM 格式后,一切正常。

The solution to this question was, that the file was saved in the XLSX format which cannot contain VBA code. After saving the file in the XLSM format everything worked as expected.

这篇关于无法将项目添加到组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆