0

first I'd like to say that I'm new to VBA language and probably to some of you this thing seems easy.

In a certain part part of my script I need to put a string (VIN from a car) using a form from Excel. Here is the line where I need to add the text .

Worksheets("Sheet2").Cells(C, 18).Value = "<EcuDatas VIN_Vehicle=""HERE I NEED TO ADD"">" 
Print #FileNum, Worksheets("Sheet2").Cells(C, 18).Value
4

1 回答 1

2

您可以使用输入框来提示用户输入字符串。

例子:

Worksheets("Sheet2").Cells(C, 18).Value = InputBox("VIN Number:", "Enter VIN #")
于 2013-05-15T12:43:16.777 回答