.FormulaArray - Missing End Curly Bracket - Normal?

spydey

Active Member
Joined
Sep 19, 2017
Messages
314
Office Version
  1. 2013
Platform
  1. Windows
So I noticed that when I use .FormulaArray to input an in-cell array formula, in the formula bar I see the formula starts with a curly bracket "{".

But I don't see one on the end.

Normally when I input an array formula via CSE, there is one at the start and one at the end, to identify that it is an array formula entered via CSE (right??).

But when I do it via .FormulaArray, I don't see the end one.

Is this normal/typical?

Or could it be indicative of an error I made along the way in my code?

-Spydey
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Try expanding the formula bar, it maybe that your formula is over two or more lines.
 
Upvote 0
Try expanding the formula bar, it maybe that your formula is over two or more lines.

So it wasn't that but I sure feel like a dork. lol

I was going line by line, using F8, to ensure that everything was working.

I got down to END SUB and then looked at my formula. It was missing the end curly bracket.

But I just realized that I never finished moving through all lines of code.

END SUB was still highlighted yellow, so the sub hadn't actually finished yet.

I tested it several times trying to figure out the issue, but I must have stopped each time on END SUB and never actually finished the sub.

It is showing now.

I feel pretty ridiculous over something so simple as not finishing the code. hahaha

Thanks again Fluff!

-Spydey
 
Last edited:
Upvote 0
Glad you figured it out & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,267
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top