-1

I have a WordPress site that has many Excel spreadsheets from OneDrive embedded using Custom HTML blocks.

I'd like to minimize the number of spreadsheets being loaded on a page by having a user be able to press a button or link to select the spreadsheet that is embedded into an HTML block. The Custom HTML that contains the embed code only needs to change the source line (src=) to accomplish this, but I can't figure out any way to do this.

Is there a way to change one HTML line in the Custom HTML block, or alternately, a way to change the entire text of the Custom HTML block, by clicking a button or link?

 <div class="aligncenter">
 <div class="wrapper">
 ...
 src="https://1drv.ms/..."
 ...
 </div>
 </div>
3
  • The embed URL parameters appear to be defined at support.microsoft.com/en-us/office/…. Commented yesterday
  • Those parameters are related to formatting a selected worksheet, or part of a worksheet. What I'm trying to do is to select the worksheet, or portion of the worksheet, to present. Commented yesterday
  • 3
    Surely this will be possible in some way or other, but so far your question lacks details. Show us what the embed code looks like.
    – C3roe
    Commented yesterday

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.