Activecell =null Spread 16

Posted by: ellie.oosterhof on 14 March 2023, 3:07 am EST

    • Post Options:
    • Link

    Posted 14 March 2023, 3:07 am EST

    Hi

    I have the following code:

    	
    fpSpread_param.SetActiveCell(0, 1);
    fpSpread_param.ActiveCell.Text = modGlobal.curReport.clsparameters.GetItem(i+1).DisplayName + " (" + sDateFormat + ")";

    fpSpread_param is FarPoint.Win.Spread.SheetView

    But when I get to the second line, fpSpread_param.ActiveCell is null.

    What do I do wrong?

  • Posted 14 March 2023, 5:29 pm EST

    Hi Ellie,

    Unfortunately, we could not replicate the issue on our end. We have attached a sample application that demonstrates our implementation for your reference. Please refer ActiveCellNullCheck.zip

    We request you update the attached sample so that we could replicate the issue on our end and analyze the issue in a better way.

    Thanks & Regards,

    Aastha

  • Posted 14 March 2023, 6:52 pm EST

    Hi, with the updated sample (changed it to:

    fpSpread1_Sheet1.SetActiveCell(1, 2);
                fpSpread1_Sheet1.ActiveCell.Text = "Anything";


    )

    it works

    should be something on my project, I will compare my project with this example.

    Thanks until now

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels