JumboCactuar
Well-known Member
- Joined
- Nov 16, 2016
- Messages
- 788
- Office Version
- 365
- Platform
- Windows
Hi, I've looked all over for a solution to this but nothing. I'm trying to pass a number as a parameter into a URL, keeping the leading zero's.
Example: 000129832 When I enter this it gets passed as 129832 which doesn't work in the URL
I have this:
And when I enter 000129832 the invoked function shows error "Column of the table not found" as it is trying to load
http://exampleurl.com?ACNUM=129832
Appreciate any help with this
Also posted on Reddit: https://www.reddit.com/r/excel/comments/bzou90/cant_pass_number_into_url_keeping_leading_zeros/
Example: 000129832 When I enter this it gets passed as 129832 which doesn't work in the URL
I have this:
Code:
let SR=(ACNUM)=>
let
Source = Xml.Tables(Web.Contents("http://exampleurl.com?ACNUM="&Number.ToText(ACNUM))),
And when I enter 000129832 the invoked function shows error "Column of the table not found" as it is trying to load
http://exampleurl.com?ACNUM=129832
Appreciate any help with this
Also posted on Reddit: https://www.reddit.com/r/excel/comments/bzou90/cant_pass_number_into_url_keeping_leading_zeros/