Excel 2007 not picking up Calculations as part of table

eoinymc

Board Regular
Joined
Jan 29, 2009
Messages
203
Hi,

I have a question that is tough to explain, but I'll try my best.

I have a sheet called "Data" & this is a SQL query that I pull using VBA (Rows A:J). I then do some calculations in VBA in Row K (Change from € to $).

When I run this macro, my Excel 2007 doesn't show column K as part of the table (i.e. the column is white and doesn't take the format of the table).

However, when a colleague of mine runs the macro, column K formats as part of the table...

I need it to be part of the table because I do some autofiltering on it in another macro and because column K is not part of the table, it won't let me autofilter the specified range.

It was working just fine for me until Friday and it just seemed to change!!

Does anyone know any settings or reasons this may happen?

It is quite annoying!

If you need any more information, please let me know.

Regards,

Eoin
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
try creating a column k before running the macro by typing in a dummy value for the first row and then clearing it. perhaps the macro is sidestepping the auto-column-detect feature?
 
Upvote 0
Possibly, look under Excel Options|Proofing|AutoCorrect Options and make sure that 'Include new rows and columns in table' is checked on the 'AutoFormat As You Type' tab.
 
Upvote 0
Andrew, you really are an MVP!

Thanks for the help..strange that it was working last week and I didn't touch this option and it stopped working!

Anyway, thanks for the help!

Eoin
 
Upvote 0

Forum statistics

Threads
1,214,814
Messages
6,121,711
Members
449,049
Latest member
THMarana

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