passing cell address to sub - write that cell
What am I doing wrong?
function xx (x as range) as whatever x.value2 = "test" or x.text = "test" compiles - I can see the object - but bombs. ???? Entered function in cell as xx(B5) |
passing cell address to sub - write that cell
|
passing cell address to sub - write that cell
wrote:
What am I doing wrong? function xx (x as range) as whatever x.value2 = "test" or x.text = "test" [....] Entered function in cell as xx(B5) When VBA code is invoked directly or indirectly from a formula in an Excel, the VBA code cannot modify cells directly. |
All times are GMT +1. The time now is 12:43 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com