Created
November 2, 2020 07:27
-
-
Save ebibibi/2ae683dfa59736f31af6f14e70d51803 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub 部署名変更bySubscriptionGUID(ByVal guid As String, ByVal newDepartment As String) | |
Dim detailTable | |
Set detailTable = Worksheets("データソースfromAzure(detail)").ListObjects("detail") | |
For i = 1 To detailTable.ListRows.Count | |
If detailTable.ListColumns("サブスクリプション GUID (SubscriptionGuid)").DataBodyRange(i) = guid Then | |
detailTable.ListColumns("部署名 (Department Name)").DataBodyRange(i).Value = newDepartment | |
End If | |
Next | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment