Original Post: http://www.ozgrid.com/forum/showthread.php?t=157681&p=573896&posted=1#post573896
I hope I cross post correctly with the link.
I wrote a line of code to rename worksheets, and it works in 2003, but not 2010. My work has excel 2010, and I am suppose to show my program to my boss today, but I can't get the code to run in 2010.
Every time I open the workbook, I get the following error message: -2147417843 An outgoing call can not be made since the application is dispatching an input synchronous call.
Each worksheet has that code referencing a different cell. It works perfectly at home, but not at work. I have two hours before I am suppose to present the program I created....HELP!
I hope I cross post correctly with the link.
I wrote a line of code to rename worksheets, and it works in 2003, but not 2010. My work has excel 2010, and I am suppose to show my program to my boss today, but I can't get the code to run in 2010.
Every time I open the workbook, I get the following error message: -2147417843 An outgoing call can not be made since the application is dispatching an input synchronous call.
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
ActiveSheet.Name = Sheets("Set-up Page").Range("B2").Value
End Sub
Each worksheet has that code referencing a different cell. It works perfectly at home, but not at work. I have two hours before I am suppose to present the program I created....HELP!