Foxtable(狐表)用户栏目专家坐堂 → 关于单元格内字符串转换为代码


  共有2186人关注过本帖树形打印复制链接

主题:关于单元格内字符串转换为代码

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:109736 积分:558396 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2018/10/23 22:18:00 [显示全部帖子]

需要使用动态函数:http://www.foxtable.com/webhelp/scr/1487.htm

Functions.remove("函数")
Dim Code As String
Dim str1 As String = Tables("状态栏").Value(0,1) 
Code = "output.show(""str1 值:  "" & " & str1 & ")"
'Code = "StatusBar.Message1 = ""str1 值:  "" & " & str1
Functions.Add("函数",Code)
Functions.Complie()
Functions.Execute("函数")

 回到顶部