Click here to Skip to main content
15,884,821 members
Home / Discussions / C#
   

C#

 
AnswerRe: How Linq determine the index of a list item? Pin
Richard Deeming16-Aug-21 23:09
mveRichard Deeming16-Aug-21 23:09 
QuestionC# interacting with Excel Pin
Ismael Oliveira 202116-Aug-21 13:15
Ismael Oliveira 202116-Aug-21 13:15 
AnswerRe: C# interacting with Excel Pin
Richard Deeming16-Aug-21 21:36
mveRichard Deeming16-Aug-21 21:36 
GeneralRe: C# interacting with Excel Pin
Ismael Oliveira 202124-Aug-21 12:46
Ismael Oliveira 202124-Aug-21 12:46 
AnswerRe: C# interacting with Excel Pin
Richard MacCutchan16-Aug-21 21:42
mveRichard MacCutchan16-Aug-21 21:42 
AnswerRe: C# interacting with Excel Pin
SpiveyC#7-Sep-21 1:44
SpiveyC#7-Sep-21 1:44 
QuestionHow to merge cells in Excel using C# Pin
Ismael Oliveira 202112-Aug-21 12:43
Ismael Oliveira 202112-Aug-21 12:43 
AnswerRe: How to merge cells in Excel using C# Pin
Richard MacCutchan12-Aug-21 21:35
mveRichard MacCutchan12-Aug-21 21:35 
I have just tried this and it works correctly. However I notice a possible error in the following line of code:
C#
xlWorkSheet.Range[ws.Cells[1, 1], ws.Cells[1, 4]].Merge();

where is ws defined?
GeneralRe: How to merge cells in Excel using C# Pin
Ismael Oliveira 202113-Aug-21 13:45
Ismael Oliveira 202113-Aug-21 13:45 
GeneralRe: How to merge cells in Excel using C# Pin
Richard MacCutchan13-Aug-21 21:44
mveRichard MacCutchan13-Aug-21 21:44 
GeneralRe: How to merge cells in Excel using C# Pin
Ismael Oliveira 202114-Aug-21 12:46
Ismael Oliveira 202114-Aug-21 12:46 
GeneralRe: How to merge cells in Excel using C# Pin
Richard MacCutchan14-Aug-21 21:09
mveRichard MacCutchan14-Aug-21 21:09 
QuestionPassing a variable from an string to a For loop Pin
Alex Dunlop11-Aug-21 23:55
Alex Dunlop11-Aug-21 23:55 
AnswerRe: Passing a variable from an string to a For loop Pin
Pete O'Hanlon12-Aug-21 2:28
mvePete O'Hanlon12-Aug-21 2:28 
GeneralRe: Passing a variable from an string to a For loop Pin
harold aptroot12-Aug-21 2:42
harold aptroot12-Aug-21 2:42 
AnswerRe: Passing a variable from an string to a For loop Pin
Richard Deeming12-Aug-21 2:48
mveRichard Deeming12-Aug-21 2:48 
AnswerRe: Passing a variable from an string to a For loop Pin
jsc4212-Aug-21 3:08
professionaljsc4212-Aug-21 3:08 
AnswerRe: Passing a variable from an string to a For loop Pin
Dave Kreskowiak12-Aug-21 3:32
mveDave Kreskowiak12-Aug-21 3:32 
AnswerRe: Passing a variable from an string to a For loop Pin
Gerry Schmitz12-Aug-21 4:13
mveGerry Schmitz12-Aug-21 4:13 
AnswerRe: Passing a variable from an string to a For loop Pin
OriginalGriff12-Aug-21 4:20
mveOriginalGriff12-Aug-21 4:20 
GeneralRe: Passing a variable from an string to a For loop Pin
Alex Dunlop12-Aug-21 6:16
Alex Dunlop12-Aug-21 6:16 
GeneralRe: Passing a variable from an string to a For loop Pin
OriginalGriff12-Aug-21 6:36
mveOriginalGriff12-Aug-21 6:36 
GeneralRe: Passing a variable from an string to a For loop Pin
Alex Dunlop12-Aug-21 8:55
Alex Dunlop12-Aug-21 8:55 
GeneralRe: Passing a variable from an string to a For loop Pin
OriginalGriff12-Aug-21 22:49
mveOriginalGriff12-Aug-21 22:49 
GeneralRe: Passing a variable from an string to a For loop Pin
Alex Dunlop13-Aug-21 7:26
Alex Dunlop13-Aug-21 7:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.