BrighterLater
Board Regular
- Joined
- Sep 16, 2005
- Messages
- 114
PLease could you comment on this code:
' General purpose Sort Sheet
New_wb.Sheets.Add After:=New_wb.Sheets(1)
ActiveSheet.Name = apsSort
i = New_wb.VBProject.VBComponents.Count
Without the line
i = New_wb.VBProject.VBComponents.Count
Activesheet.codename is NULL
I tried Waiting for it to resolve but it did not.
But it would appear that the VBProject code refreshes the project????
There was a post on Wed 22 Dec 2004 from gbTek.com with a similar query that did not seem to get resloved. Any comments as to what is happening would be most appreciated.
' General purpose Sort Sheet
New_wb.Sheets.Add After:=New_wb.Sheets(1)
ActiveSheet.Name = apsSort
i = New_wb.VBProject.VBComponents.Count
Without the line
i = New_wb.VBProject.VBComponents.Count
Activesheet.codename is NULL
I tried Waiting for it to resolve but it did not.
But it would appear that the VBProject code refreshes the project????
There was a post on Wed 22 Dec 2004 from gbTek.com with a similar query that did not seem to get resloved. Any comments as to what is happening would be most appreciated.