คำตอบที่ได้รับเลือกจากเจ้าของกระทู้
ความคิดเห็นที่ 1
google >> excel decode url link
ได้คำตอบจากที่นี่
V
Does VBA have any built in URL decoding?
https://stackoverflow.com/questions/4998715/does-vba-have-any-built-in-url-decoding
** คำตอบของ konahn @Jun 12 '18 at 9:26
ตัวอย่างไฟล์ที่ทำแล้ว (URL Encode.xlsm ต้องเปิดใช้ macro ถึงจะรันได้)
>> https://upload.i4th.in.th/th/download.php?id=61386FC51
ได้คำตอบจากที่นี่
V
Does VBA have any built in URL decoding?
https://stackoverflow.com/questions/4998715/does-vba-have-any-built-in-url-decoding
** คำตอบของ konahn @Jun 12 '18 at 9:26
EncodeURL and DecodeURL function using htmlfile object(Late binding)
I got this source from this site: http://cocosoft.kr/442
.
.
For example,
str = ENCODEURL("/?&=") 'returns "%2F%3F%26%3D"
str = DECODEURL("%2F%3F%26%3D") 'returns "/?&="
I got this source from this site: http://cocosoft.kr/442
.
.
For example,
str = ENCODEURL("/?&=") 'returns "%2F%3F%26%3D"
str = DECODEURL("%2F%3F%26%3D") 'returns "/?&="
ตัวอย่างไฟล์ที่ทำแล้ว (URL Encode.xlsm ต้องเปิดใช้ macro ถึงจะรันได้)
>> https://upload.i4th.in.th/th/download.php?id=61386FC51

แสดงความคิดเห็น
รบกวนถามเรื่องสูตรที่ใช้ Decode URL ใน Excel ค่ะ
ท่านใดพอจะทราบสูตรไว้ decode URL ภาษาไทย ให้กลับเป็น URL ปกติมั้ยคะ
ปกติจะใช้เว็บแปลง เช่น https://www.url-encode-decode.com/ แต่กำลังพยายามลดขั้นตอนด้วยการสร้างไฟล์มาช่วยแปลง
ประมาณว่า วางข้อมูลลงไป แล้วก็ใช้สูตรแปลงออกมาอีกช่องค่ะ
แต่ไม่พบสูตรที่เกี่ยวข้อง เจอแต่ =ENCODEURL
หากท่านใดพอจะมีสูตรแบ่งปัน รบกวนชี้ทางสว่างหน่อยค่ะ
ตัวอย่าง URL ที่อยากแปลงนะคะ
https://th.wikipedia.org/wiki/%E0%B8%AB%E0%B8%99%E0%B9%89%E0%B8%B2%E0%B8%AB%E0%B8%A5%E0%B8%B1%E0%B8%81
ถ้า decode แล้วจะเป็น..
https://th.wikipedia.org/wiki/หน้าหลัก
ขอบคุณล่วงหน้าสำหรับทุกคำตอบค่ะ