Wednesday 13
New Member
- Joined
- Sep 24, 2010
- Messages
- 4
Hello. I'm publishing some reports as .htm files, and I faced issue with relative/absolute path of output .htm files.
Let's say, workbook is located in folder "Publish" at desktop. I want to publish .htm files in that same folder where workbook is located. Attached is layout of dialog for that action. Afer I complete it, I get .htm file and respective folder in desired location, and it works fine.
Now, if I move the workbook to another location and try to republish files, Excel republishes them in this same, absolute location, Desktop/Publish, not to a new location, where workbook is now located. If I want to get published files in that same folder, I have to go through publishing dialogs again and edit locations.
I want Excel to republish files in relative destination, in the same folder where workbook is located, whenever workbook is moved to different location, and not in absolute destination chosen during initial publishing.
I refer to republishing when workbook is updated and saved (option "AutoRepublish every time this workbook is saved"), not to new publishing - new publishing works fine when I specify desired location; I just want that location to be relative to workbook, not absolute.
Is it possible?
Thanks in advance!
Let's say, workbook is located in folder "Publish" at desktop. I want to publish .htm files in that same folder where workbook is located. Attached is layout of dialog for that action. Afer I complete it, I get .htm file and respective folder in desired location, and it works fine.
Now, if I move the workbook to another location and try to republish files, Excel republishes them in this same, absolute location, Desktop/Publish, not to a new location, where workbook is now located. If I want to get published files in that same folder, I have to go through publishing dialogs again and edit locations.
I want Excel to republish files in relative destination, in the same folder where workbook is located, whenever workbook is moved to different location, and not in absolute destination chosen during initial publishing.
I refer to republishing when workbook is updated and saved (option "AutoRepublish every time this workbook is saved"), not to new publishing - new publishing works fine when I specify desired location; I just want that location to be relative to workbook, not absolute.
Is it possible?
Thanks in advance!
![Excel-publish-as-web-page.jpg](/board/proxy.php?image=https%3A%2F%2Fi.ibb.co%2FBcH80vC%2FExcel-publish-as-web-page.jpg&hash=d537130b52858434e20e03c0f7a6aae5)