Hello!
I want to add a formula to a cell the formula is:
=TEXT(A1,"dddd")
I have used this code
formel = "=TEXT(A" & CStr(NewRow) & ";""dddd"")"
Worksheets("Blad2").Cells(NewRow, 2).Formula = formel
I get an error on the second line saying:
Runtime Error '1004'
application-defined or object-defined error
NewRow is a valid number, e.g. 36
What is the error?
// Anders
--
English is not my first, or second, language
so anything strange, or insulting, is due to
the translation.
Please correct me so I may learn better English!
Bookmarks