austinandreikurt
Board Regular
- Joined
- Aug 25, 2020
- Messages
- 91
- Office Version
- 2016
- Platform
- Windows
Help!
I am really having a hard time on this. I want to create an HTML (website) and have it refreshed automatically every time an excel file is being updated. I really do not know the step by step and just tried to google some. What I created so far is using Power Automate (if you have better suggestion, I am okay with it as long as I can follow the steps) and have a "Manual trigger a flow" -> List rows present in a table -> "Select" -> Create HTML table then that's it. I do not know if what I am doing is correct. I need the flow to create a URL that is viewable for me. Then a flow to have that url refresh everytime that excel is updated.
Below is the "Table1" (Column A is not included in the table but has formula on it) I have on excel:
Then my last purpose once I have that working HTML URL is to use that URL to extract data to an excel vba that was on a local drive from different pcs using below codes:
I really hope someone can help me on this! Thank you in advance!
I am really having a hard time on this. I want to create an HTML (website) and have it refreshed automatically every time an excel file is being updated. I really do not know the step by step and just tried to google some. What I created so far is using Power Automate (if you have better suggestion, I am okay with it as long as I can follow the steps) and have a "Manual trigger a flow" -> List rows present in a table -> "Select" -> Create HTML table then that's it. I do not know if what I am doing is correct. I need the flow to create a URL that is viewable for me. Then a flow to have that url refresh everytime that excel is updated.
Below is the "Table1" (Column A is not included in the table but has formula on it) I have on excel:
| Password (Col C) | General Access (Col D) | FBS Generation (Col E) | ||
1 | marco | 12456568 | Active | Active | |
2 | nestor@gmail.com | 124893 | Active | Active | |
3 | leah125_56@yahoo.com | 2498415 | Active | Active |
Then my last purpose once I have that working HTML URL is to use that URL to extract data to an excel vba that was on a local drive from different pcs using below codes:
VBA Code:
Public Sub UseQueryTable()
Dim table As QueryTable
For Each table In Sheet1.QueryTables
table.Delete
Next table
Sheet1.Cells.Clear
Dim url As String
url = "https://????"
'Dim table As QueryTable
Set table = Sheet1.QueryTables.Add("URL;" & url, Sheet1.Range("A1"))
With table
.WebSelectionType = xlEntirePage
'.WebTables = "1"
.WebFormatting = xlWebFormattingNone
.Refresh
End With
End Sub
I really hope someone can help me on this! Thank you in advance!