web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Is it possible to copy...
Power Apps
Unanswered

Is it possible to copy excel tables in power app text input field ?

(0) ShareShare
ReportReport
Posted on by 16

Requirement is to copy excel tables and paste it in text input field as table with borders. We trying to append the text input field to send email as body.

 

We tried in rich text editor, but it is not allowing the border lines while paste in power app. 

text inputter.jpg
rich editor.jpg
Categories:
I have the same question (0)
  • AndrewR1 Profile Picture
    1,572 Moderator on at

    You could try using the HTML text control and then using this create a table and input your data directly in to the HTML? for Example: 

    "<table>
     <tr>
     <th "&TDStlye&">Company</th>
     <th "&TDStlye&">Contact</th>
     <th "&TDStlye&">Country</th>
     </tr>
     <tr>
     <td "&TDStlye&">Alfreds Futterkiste</td>
     <td "&TDStlye&">Maria Anders</td>
     <td "&TDStlye&">Germany</td>
     </tr>
     <tr>
     <td "&TDStlye&">Centro comercial Moctezuma</td>
     <td "&TDStlye&">Francisco Chang</td>
     <td "&TDStlye&">Mexico</td>
     </tr>
     <tr>
     <td "&TDStlye&">Ernst Handel</td>
     <td "&TDStlye&">Roland Mendel</td>
     <td "&TDStlye&">Austria</td>
     </tr>
     <tr>
     <td "&TDStlye&">Island Trading</td>
     <td v>Helen Bennett</td>
     <td "&TDStlye&">UK</td>
     </tr>
     <tr>
     <td "&TDStlye&">Laughing Bacchus Winecellars</td>
     <td "&TDStlye&">Yoshi Tannamuri</td>
     <td "&TDStlye&">Canada</td>
     </tr>
     <tr>
     <td "&TDStlye&">Magazzini Alimentari Riuniti</td>
     <td "&TDStlye&">Giovanni Rovelli</td>
     <td "&TDStlye&">Italy</td>
     </tr>
    </table>"

    AndrewR1_0-1694775932078.png

     


    Where TDStlye = Onstart of the app 

    Set(TDStlye, "style='border: 1px solid black;'")

    I would recommend setting up variables for the Styles and then insetting them like above as then you have one place for and changes need otherwise yo would need to make the change across all the TDs

     

    You would have to tweak the styling to suit what you want but this is a good way of approaching this  as the html table can then be directly inserted in to the email. 

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

     

    Many Thanks
    Andrew




Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard