Forum Discussion

VCh3n's avatar
VCh3n
Copper Contributor
May 09, 2019

.xlsb file crashes when I use offset, table[#data] and table[#headers] to create dynamic drop downs

Hi,

 

I have been creating dynamic drop downs by assigning a dynamic name range using offset and the table syntax against two tables and the file corrupts every time when the second dynamic drop down name range is set. Once the file is closed I cannot open it again with Excel 2016 prompting the file is corrupt.

 

Keen for some guidance whether it's something I am not doing right or it's an Excel issue.

 

Thank you.

3 Replies

  • Twifoo's avatar
    Twifoo
    Silver Contributor
    If that is so, convert your table to a range (Right-click,b,v). Also, use INDEX instead of the volatile OFFSET.
  • JKPieterse's avatar
    JKPieterse
    Silver Contributor
    Why the dynamic range name, tables make names pointing to their columns dynamic without having to use any functions in the name.
    • VCh3n's avatar
      VCh3n
      Copper Contributor

      JKPieterse Because the table of an uneven height (column 1 having data down 5 rows and column 2 having data down 7 as an example) will give you 2 empty cells in when you assign column 1 of the table in your drop down.