Ok so I am working in excel 2007 and I am trying to write a macro that reads a certain cell, if the cell is true it will divide all cells in a table I have created by a number found in another cell. There is one line in the code that will not run for me. I keep getting error 13. It looks like this...
Range("FetchTable").Value = Range("FetchTable").Value / Range("DivVal").Value
I have tried several variations of this, removing the .Value and such. Nothing seems to work and I can't find the proper way to write it. Help!
Range("FetchTable").Value = Range("FetchTable").Value / Range("DivVal").Value
I have tried several variations of this, removing the .Value and such. Nothing seems to work and I can't find the proper way to write it. Help!