Click here to Skip to main content
15,500,227 members

Comments by Michael_Davies (Top 200 by date)

Michael_Davies 19-Nov-22 9:21am View    
sorry...meant 12 12 ... remmebering I said "IF n was 21", obviously not 21 as it is the index in the loop so will be 0 at the end...
Michael_Davies 19-Nov-22 8:11am View     CRLF
printf("The reverse of %d is %d",n , n , reverse); Three parameters only two %d... so if n was 21 and reverse was 12 it would print 21 21.
Michael_Davies 1-Nov-22 14:14pm View    
Hi, See
Michael_Davies 20-Oct-22 10:17am View     CRLF
I used an online VB to C# converter... while (Marshal.ReleaseComObject(excelApp) != 0) Application.DoEvents();
Michael_Davies 20-Oct-22 9:38am View     CRLF
So add the : While System.Runtime.InteropServices.Marshal.ReleaseComObject(excelApp) <> 0 Application.DoEvents() End While Also see this page for MS advice on Excel & COM