🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: be.comp.programming
1 messages
1 total messages Started by RG Tue, 05 Sep 2006 14:11
[VB.NET] Relatieve Formules in Excel
#661
Author: RG
Date: Tue, 05 Sep 2006 14:11
25 lines
1546 bytes
Beste,

Bij het genereren van Excel documenten in vb.net lukt het me niet om 
relatieve formules in te voegen.
Telkens wanneer ik dit doe krijg ik een system error.

Alle andere functies (platte tekst, formules in de vorm van =som(A1:A2), 
opmaak) lukken perfect.

Heeft er nog iemand deze problemen of een oplossing voor mij?

Dit zijn enkele van mijn vele pogingen:
'Ws.Range(kolom & rij).FormulaR1C1 = "(R[-8]C:R[-1]C)"

'Ws.Range(kolom & rij).FormulaR1C1 = "=SUM(R[-2]C:R[-1]C)"

'App.Range(kolom & rij).Formula = "=SUM(R[-2]C:R[-1]C)"

'App.Range(kolom & rij).FormulaR1C1 = "=R[-2]C+R[-1]C"

'App.ActiveSheet.Cells(rij, 3).Formula = "=C[-1]+c12"



Groeten, 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads