Minimum Origin Version Required: Origin91 SR0
Cell link notation has the following syntax:
Object://ocfilename:ocfuncname|displaytext|extrainfo
This example below shows how to use cell link notation.
int UserCallback(string& strLabel, string& strExtra) { strExtra ="Result Sheet"; strLabel = "Go to Result sheet"; // Access the workbook named "Book1" WorksheetPage wksPage("Book1"); // Add a new sheet to the workbook int index = wksPage.AddLayer(strExtra); // Access the new worksheet Worksheet wksNew = wksPage.Layers(index); // Set the new worksheet to be active set_active_layer(wksNew); return 0; }