itsnotaboutthecell

Power Query M - iFrame Creator

Sep 10th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. /*
  2. Created By: Alex Powers
  3. Website: http://www.itsnotaboutthecell.com
  4. LinkedIn: https://www.linkedin.com/in/alexmpowers/
  5.  
  6. */
  7.  
  8. (URL as text, Width as number, Height as number) =>
  9. let
  10. Source = "<!DOCTYPE html><html><body><iframe width=""" &
  11. Text.From(Width) & """" & "height=""" & Text.From(Height) &
  12. """src=" & """" & URL & """" & "><p>Your browser does not support iframes.</p></iframe></body></html>"
  13. in
  14. Source
Add Comment
Please, Sign In to add comment