I've been programming in VBA for several years, but am fairly new to
this group. In reading the recent posts, I have to say thanks to all
of you for your time and efforts to help out us poor geeks. I have
recently encoutered two new problems and that's why I write.
Problem 1: I have created a named formula that calculates the number
of blanks cells in a dynamic range. The formula is:
=COUNTBLANK(INDIRECT("All!$Q$2:$Q$" & COUNTA(All!$A:$A)))
It works great on a sheet, but I can't seem to reference the
calculated result in code. The properties of the name object return
the formula itself, but not the result. I tried putting the formula
directly in code without success.
Problem 2: How does one prevent Windows from displaying "helpful"
dialog boxes (i.e. when a large amount of data is on the clipboard
and the file is closed, Windows asks if you want to retain the data
on the clipboard).
I've been pulling my hair out (what's left of it) and wondering if
I'm old and losing it (which is a possibility). Please help.