Click here to Skip to main content
15,898,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generating random number of fixed-size Pin
Nnamdi Onyeyiri14-Apr-03 23:42
Nnamdi Onyeyiri14-Apr-03 23:42 
GeneralRe: Generating random number of fixed-size Pin
Nick Seng14-Apr-03 23:46
Nick Seng14-Apr-03 23:46 
GeneralRe: Generating random number of fixed-size Pin
Nnamdi Onyeyiri14-Apr-03 23:49
Nnamdi Onyeyiri14-Apr-03 23:49 
GeneralRe: Generating random number of fixed-size Pin
Nick Seng14-Apr-03 23:53
Nick Seng14-Apr-03 23:53 
GeneralRe: Generating random number of fixed-size Pin
Nick Seng14-Apr-03 23:43
Nick Seng14-Apr-03 23:43 
GeneralRe: Generating random number of fixed-size Pin
Gerry15-Apr-03 0:15
Gerry15-Apr-03 0:15 
GeneralC# and excel Pin
Marix14-Apr-03 20:37
Marix14-Apr-03 20:37 
GeneralRe: C# and excel Pin
Nick Seng14-Apr-03 23:38
Nick Seng14-Apr-03 23:38 
I had this same problem a while ago, and the solution I used was:

Assign the refering name to a variable

String sRef = (String)(nm.RefersToR1C1).Split("!"c)
which will get you something like "RxCy" where X is the row number and y is the Column number. Extract those value out, then

String Value = (String)WB.Sheets(sheetname).Cells.Item(row,col)

It's a long way to do it, but until Office 11 comes out, it's the only way I know

Notorious SMC



The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning
Mark Twain

Get your facts first, and then you can distort them as much as you please
Mark Twain
GeneralRe: C# and excel Pin
Chris Austin15-Apr-03 5:16
Chris Austin15-Apr-03 5:16 
GeneralPowering through statements Pin
Adam Turner14-Apr-03 14:28
Adam Turner14-Apr-03 14:28 
GeneralRe: Powering through statements Pin
Jim Stewart14-Apr-03 17:43
Jim Stewart14-Apr-03 17:43 
GeneralRe: Powering through statements Pin
Adam Turner14-Apr-03 17:49
Adam Turner14-Apr-03 17:49 
GeneralRe: Powering through statements Pin
Jim Stewart14-Apr-03 18:07
Jim Stewart14-Apr-03 18:07 
GeneralShell/OLE Interface Definitions Pin
J. Dunlap14-Apr-03 14:16
J. Dunlap14-Apr-03 14:16 
GeneralRe: Shell/OLE Interface Definitions Pin
James T. Johnson14-Apr-03 17:13
James T. Johnson14-Apr-03 17:13 
GeneralRe: Shell/OLE Interface Definitions Pin
J. Dunlap14-Apr-03 18:33
J. Dunlap14-Apr-03 18:33 
QuestionInterop Strong Names? Pin
Steven Behnke14-Apr-03 12:33
Steven Behnke14-Apr-03 12:33 
AnswerRe: Interop Strong Names? Pin
Steven Behnke14-Apr-03 12:48
Steven Behnke14-Apr-03 12:48 
General.NET 2003 and C# - Need to deploy app... Pin
ekuhner14-Apr-03 12:12
ekuhner14-Apr-03 12:12 
GeneralRe: .NET 2003 and C# - Need to deploy app... Pin
Steven Behnke14-Apr-03 12:49
Steven Behnke14-Apr-03 12:49 
GeneralRe: .NET 2003 and C# - Need to deploy app... Pin
Chris Austin14-Apr-03 12:53
Chris Austin14-Apr-03 12:53 
GeneralReturn S_FALSE Pin
J. Dunlap14-Apr-03 11:29
J. Dunlap14-Apr-03 11:29 
GeneralRe: Return S_FALSE Pin
J. Dunlap14-Apr-03 14:17
J. Dunlap14-Apr-03 14:17 
GeneralBitwise AND Pin
J. Dunlap14-Apr-03 10:47
J. Dunlap14-Apr-03 10:47 
GeneralRe: Bitwise AND Pin
J. Dunlap14-Apr-03 10:59
J. Dunlap14-Apr-03 10:59 

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.