first row in array

  • Thread starter Thread starter RobcPettit
  • Start date Start date
R

RobcPettit

Hi, if name a1:a20 as 'myvalues' then in vba assign to an array
'myarray', how can I check 'myarray' to see if it contains any values
using vba. Or even check 'myvalues'. Either would do.
Regards Robert
 
if isempty(range("MyValues")(1)) then

or

myArray = Range("MyValues").Value

if isempty(myarray(1,1)) then
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top