Solved

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

  • 1 April 2019
  • 2 replies
  • 80 views

Dear AIMMS Community,

quick question:

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

Thank you!
icon

Best answer by Arthur 1 April 2019, 16:19

View original

2 replies

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!
Userlevel 4
Badge +1
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 ? 🙂

Reply


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

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