I am considering buying a Mac Book Pro but keeping my Windows PC and using Office 365 on both. However the Macro I created for my PC works a treat to generate reports that includes graphs and charts but it won't run on my friends Mac running Office 2011. The problem occurs when trying to use the statement to convert Text to Columns to parse data (to separate a date from a time..... e.g. 10/12/2014 07:30:30 which is an import of raw data) but in the Mac Office version the Macro stops at this line which is as follows
Set rng = ActiveSheet.Range("b2:b" & totalrows)
rng.Select
Selection.TextToColumns Destination:=Range("b2"), DataType:=xlFixedWidth, fieldinfo:=Array(Array(0, 1), Array(11, 1)), trailingminusnumbers:=True
Has anybody come across this problem and found a fix?