Re: Help with OFFSET Problem Please
From: Paul Black (Anonymous_at_Discussions.Microsoft.com)
Date: 02/26/05
- Next message: Tom Ogilvy: "Re: Versioning Management"
- Previous message: WTG: "Re: VBA Form ComboBox question"
- In reply to: Paul Black: "Re: Help with OFFSET Problem Please"
- Next in thread: Jim Cone: "Re: Help with OFFSET Problem Please"
- Reply: Jim Cone: "Re: Help with OFFSET Problem Please"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 26 Feb 2005 07:33:26 -0800
Not to Worry, I have Managed to Sort it Out.
One Question though, How can I get it to Start the Output in "A1"
WITHOUT Using a Minus in the Offset Please.
Snippet of Code Used for the Offset.
For i = 1 To nMaxF - 1
For j = i + 1 To nMaxF
nCount = nCount + 1
If nCount = 65001 Then
nCount = 1
ActiveCell.Offset(-65000, 5).Select
End If
ActiveCell.Offset(1, 0).Select
ActiveCell.Offset(-1, 0).Value = i
ActiveCell.Offset(-1, 1).Value = j
ActiveCell.Offset(-1, 2).Value = nNoB(i, j)
ActiveCell.Offset(-1, 3).Value = nB(i, j)
Next j
Next i
If I Don't Use the Minus it Starts the Output from Cell "A2".
Thanks in Advance.
All the Best.
Paul
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Tom Ogilvy: "Re: Versioning Management"
- Previous message: WTG: "Re: VBA Form ComboBox question"
- In reply to: Paul Black: "Re: Help with OFFSET Problem Please"
- Next in thread: Jim Cone: "Re: Help with OFFSET Problem Please"
- Reply: Jim Cone: "Re: Help with OFFSET Problem Please"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|