Hello,
I have been facing Compile Error for below code. Kindly help. Underlined portions of code are being highlighted.
Function TOOLSET_UPDATE(FCSN As String) As String
Dim i1 As Long
'Dim ColumnShift As Integer 'just to simplify code a bit...or may be opposite
Dim curTS As String
Dim curFC As String
Dim curSN As String
Dim tempFC As String
Dim fCell As Range
Dim rname As Range
Dim busizename As Range
Dim buname As Range
Dim tsize, tname As String
'Dim str1 As String
curSN = FCSN
Dim AttrTCN_FileCode As String
AttrTCN_FileCode = "textbox43"
Dim AttrTCN_SN As String
AttrTCN_SN = "textbox48"
Dim AttrTCN_ParentTS As String
AttrTCN_ParentTS = "textbox61"
Dim QTracToolCoundFilePath As String 'Path for file in current directory (where you open this macros), with unic name. Its temporary file only
Dim wwwXLMToolCouNT As String 'URL to QTRac Report
wwwXLMToolCouNT = Range("ToolCountLink").Value
'Generate filename for temporary file
QTracToolCoundFilePath = CreatePathFreeFileNameInCurrentFolder("AllToolCount_Tmp", "xml", False)
I have been facing Compile Error for below code. Kindly help. Underlined portions of code are being highlighted.
Function TOOLSET_UPDATE(FCSN As String) As String
Dim i1 As Long
'Dim ColumnShift As Integer 'just to simplify code a bit...or may be opposite

Dim curTS As String
Dim curFC As String
Dim curSN As String
Dim tempFC As String
Dim fCell As Range
Dim rname As Range
Dim busizename As Range
Dim buname As Range
Dim tsize, tname As String
'Dim str1 As String
curSN = FCSN
Dim AttrTCN_FileCode As String
AttrTCN_FileCode = "textbox43"
Dim AttrTCN_SN As String
AttrTCN_SN = "textbox48"
Dim AttrTCN_ParentTS As String
AttrTCN_ParentTS = "textbox61"
Dim QTracToolCoundFilePath As String 'Path for file in current directory (where you open this macros), with unic name. Its temporary file only
Dim wwwXLMToolCouNT As String 'URL to QTRac Report
wwwXLMToolCouNT = Range("ToolCountLink").Value
'Generate filename for temporary file
QTracToolCoundFilePath = CreatePathFreeFileNameInCurrentFolder("AllToolCount_Tmp", "xml", False)