自定义函数 JSA_E_ENCODEURL 返回URL编码的字符串

function JSA_E_ENCODEURL(str) {
    str = str.valueOf();
    return encodeURIComponent(str);
}

插入函数对话框、函数参数对话框:

加载宏文件function Workbook_Open(){}中添加以下代码。

Application.MacroOptions("JSA_E_ENCODEURL", "返回URL编码的字符串。", undefined, undefined, undefined, undefined, 14, undefined, undefined, undefined, ["字符串。"]);

云南省
浏览 22
收藏
点赞
分享
+1
1
+1
全部评论 1
 
497128657
关系图:https://bbs.wps.cn/topic/68275
· 云南省
回复