Skip to main content
Solved

Relative paths and axll::OpenWorkBook(WorkbookFilename : Input_WorkbookName)

  • April 1, 2019
  • 2 replies
  • 95 views

Curious AIMMS-bot 2
Dear AIMMS Community,

quick question:

How could I specify a relative and an absolute path using axll::OpenWorkBook ?

Thank you!

Best answer by Arthur

Hi @Natalia,

By default, the path is relative to the project folder (the .aimms file to be more precise)

You may also specify an absolute path like "C:\\Users\\Daniel\\Documents\\MyExceFile.xlsx"

Does it help ? 🙂

2 replies

Arthur
Forum|alt.badge.img+1
  • Former AIMMSian
  • 26 replies
  • Answer
  • April 1, 2019
Hi @Natalia,

By default, the path is relative to the project folder (the .aimms file to be more precise)

You may also specify an absolute path like "C:\\Users\\Daniel\\Documents\\MyExceFile.xlsx"

Does it help ? 🙂

Curious AIMMS-bot 2
Hi @Natalia,

By default, the path is relative to the project folder (the .aimms file to be more precise)

You may also specify an absolute path like "C:\\Users\\Daniel\\Documents\\MyExceFile.xlsx"

Does it help ? :)


Hi @Arthur,

Yes, understood!

I understood that I can just use the path in the string value of “Input_WorkbookName”. Works!


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator