Excel How to Create Clickable Hyperlinks in Power Query

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ต.ค. 2024

ความคิดเห็น • 10

  • @maciejkopczynski55
    @maciejkopczynski55 3 หลายเดือนก่อน

    Hi Mike! I remember you and Leila once doing one video on inserting an image directly from Power Query. The solution was to use data types from Power Query. This could also be another solution for this problem.
    1. Transforming data
    2. Creating a data type on the mail column
    3. Loading the data to the worksheet
    4. Adding new column from data type (that would contain a formula like [@Mail].Mail
    5. Inserting =HYPERLINK([@Mail].Mail)
    6. Hiding the originally loaded column with plain data.
    It seems like more work but.... in my case Excel messes the formula inserted by macro by adding the implicit intersection "@" each time. Additionally, the text-formula + macro solution requires us to run the macro each time we update the data.
    Great video! Thank you, Mike!

    • @MikeThomas67
      @MikeThomas67  3 หลายเดือนก่อน

      Great solution. Thanks for sharing!

  • @pandamonium9834
    @pandamonium9834 4 หลายเดือนก่อน +1

    Thanks Mike and good morning! Have an excellent day 🐼🐼

  • @bmrxpto
    @bmrxpto 4 หลายเดือนก่อน +1

    Thank you so much for your knowledge, it helped me a lot. If you wish to keep the original column, you can also use the following formula in power query: ="=HYPERLINK([@[your original column name]]; ""Open"")". In alternative to the macro you can also use the tool replace, replacing all "=" for "=".

    • @MikeThomas67
      @MikeThomas67  4 หลายเดือนก่อน

      @bmrxpto Thanks for sharing!

  • @Nazho248
    @Nazho248 4 หลายเดือนก่อน

    Thanks but, the macro is adding an @ after = producing error

    • @MikeThomas67
      @MikeThomas67  4 หลายเดือนก่อน

      @Nazho248 I've never come across that problem before. After a bit of research I found a possible solution. Please go into the VBA Editor (ALT+F11) and change the 2 instances of Value to be Value2 and see if that works. If that still doesn't work, try changing the 2 instances of Value2 to Formula2. As you saw on the video it didn't cause an issue for me. I'm wondering if it's the version of Excel you have?

    • @leahgrace3027
      @leahgrace3027 14 วันที่ผ่านมา

      I'm using the desktop app for Excel from Microsoft 365 and I'm having the same issue. Any instance of ActiveCell.Value = ActiveCell.Value or ActiveCell.Value2 = ActiveCell.Value2 or ActiveCell.Formula2 = ActiveCell.Formula2 is throwing an Application-defined or Object-defined error.