I'm trying to print an equation into a cell. But when I add the = character, it gives runtime-error 1004. What is this about?
nimim = ThisWorkbook.Name
Range("B8").Value = "=HLOOKUP([" + nimim + "]Esitietolista!A$1;[" + nimim + "]Kielet!D:H;Telat!A109;FALSE)"
or
Range("B8").Value = Chr(61) + "HLOOKUP([" + nimim + "]Esitietolista!A$1;[" + nimim + "]Kielet!D:H;Telat!A109;FALSE)"