ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Option Base error... (https://www.excelbanter.com/excel-programming/358640-option-base-error.html)

pmguerra[_4_]

Option Base error...
 

Hi

I'm using Option Base 1 at the top of Module1.

However when I use the Filter function (with Include = False), the
lower bound of my array becomes 0...

I want it to be 1...

Why does this happen?

How do I overcome this?

Thank you for your help!


--
pmguerra
------------------------------------------------------------------------
pmguerra's Profile: http://www.excelforum.com/member.php...o&userid=14986
View this thread: http://www.excelforum.com/showthread...hreadid=532078


Dick Kusleika[_4_]

Option Base error...
 
pmguerra

You can't. That will always return a zero based array and as far as I know
you can't change it.

--
Dick Kusleika
MS MVP - Excel
www.dailydoseofexcel.com

pmguerra wrote:
Hi

I'm using Option Base 1 at the top of Module1.

However when I use the Filter function (with Include = False), the
lower bound of my array becomes 0...

I want it to be 1...

Why does this happen?

How do I overcome this?

Thank you for your help!





All times are GMT +1. The time now is 03:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com