Disabling Flash Fill

George J

Well-known Member
Joined
Feb 15, 2002
Messages
959
I have searched online for the solution and have not seen one, which does not bode well. Time to ask the experts.

I have a workbook that creates another workbook.
In this second workbook , the user fills in reference ID's but Excel is trying to be helpful. When it thinks it sees a pattern, Flash Fill kicks in and auto-populates the empty cells - wrongly.

Is there a VBA command that will turn off the flash fill? Currently I need to do this manually through:
File > Options > Advanced - Editing Options: disable 'automatically flash fill' while leaving 'enable autocomplete for cell values' alone.

I saw a post that mentioned adjusting the group policy, but this is not what I require.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
This is what the macro recorder produced :

Application.DisplayInsertOptions = False
 
Last edited:
Upvote 0
Thanks, but this doesn't work.

I created a blank workbook and put that into the workbook open event.
Running Application.DisplayInsertOptions = False still leaves the falsh fill option ticked.
Tried running if from a macro too - it doesn't seem to turn it off.
 
Upvote 0
Upvote 0
That's the group policy post I mentioned. Seems we can't do this with VBA.
Maybe I'll put a warning message on the workbook if it finds Application.FlashFillMode = TRUE

Thanks for looking at this footoo.
 
Upvote 0
This is old, but I recently stumbled upon the same problem.

Application.FlashFill resolved my issues. You were 90% there with Application.FlashFillMode, so I'm sure you've discovered this by now. Just thought I'd reply for anyone in the future.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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