itemPrice is a number that is inputted by the user. I want this number to be pasted on several columns (C to N) on a specific user inputted row. Running this gives me an application-defined or object-defined error due to "Range(Cells(theRow, C)).Value = itemPrice".
'Request user to input location of new row
theRow = Application.InputBox("Enter row #: ")
'Request new pricing
itemPrice = Application.InputBox("Price of New Item: ")
'Loop through every month to set the price
Range(Cells(theRow, C)).Value = itemPrice
Range(Cells(theRow, C)).Select
Selection.Copy
Range(Cells(theRow, C), Cells(theRow, N)).Select
Sheet2.Paste
Bookmarks