| 
    
     |  | こんばんは。 
 >すいません、教えてください。
 >
 >下のような記述をして動かしているのですが、
 >
 >  .Cells(EndRow, TB111.Col) = UserForm1.TB111.Text
 >  .Cells(EndRow, TB112.Col) = UserForm1.TB112.Text
 >  .Cells(EndRow, TB113.Col) = UserForm1.TB113.Text
 >  .Cells(EndRow, TB121.Col) = UserForm1.TB121.Text
 >  .Cells(EndRow, TB122.Col) = UserForm1.TB122.Text
 >  .Cells(EndRow, TB123.Col) = UserForm1.TB123.Text
 >  .Cells(EndRow, TB131.Col) = UserForm1.TB131.Text
 >  .Cells(EndRow, TB132.Col) = UserForm1.TB132.Text
 >  .Cells(EndRow, TB133.Col) = UserForm1.TB133.Text
 >
 >これですとTextBoxが増えていくにつれて大変になると思い、
 >下の記述のような変数を使ってやろうと試みたのですが
 >
 >For i = 1 To 3
 >For j = 1 To 3
 >   .Cells(EndRow, TB1ij.Col) = UserForm1.Controls("TB1" & i & j).Text
 '           ↑エラーの原因は、 TB1ij.Col じゃないですか?
 >Next j
 >Next i
 >
 >動かすとオブジェクトが必要ですとエラーがでて動きません。
 
 まず、TB111.ColとかTB112.Colの説明をしてください。
 
 |  |