最近搜索


没有最近搜索

Third Party Integration Account's Avatar

Third Party Integration Account

已加入2021年4月16日

·

最后活动2023年3月14日

关注

0

关注者

0

活动总数

8

投票

1

订阅

6

活动概览

的最新活动 Third Party Integration Account

Third Party Integration Account 进行了评论,

社区评论 Discussion - Tips and best practices from the community

@Joshua Bentley: it is possible to have the desired result you requested - a VB Script can do the magic for you.

Sub start_fillit()
On Error GoTo Ende:
Dim i As Long, tmp
Dim j As Long


For j = 1 To 7

For i = 1 To IIf(IsEmpty(Cells(Rows.Count, 7)), _
Cells(Rows.Count, 7).End(xlUp).Row, Rows.Count)
If Not IsEmpty(Cells(i, j)) Then
tmp = Cells(i, j).Value
Else
Cells(i, j).Value = tmp
End If
Next i

Next j

Columns("D:D").Select
Selection.Replace What:="true", Replacement:="WAHR", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Range("A1").Select

Ende:
End Sub

查看评论 · 已于 2017年6月02日 发布 · Third Party Integration Account

0

关注者

1

投票

0

评论