Looking for Macro to iterate new document filename, for example my recorded macro creates a new document with title "Document" but I need to number the project based on the previous number. N=0, Document(N+1). I am new to the corel macro environment and willing to do the work just need some insights on where to start since I am not familiar with corel programming, it seems similar to excel.
My thought process initially was to store a value in a global variable and call that variable every time my macro runs. Then I could run another macro which resets the variable when needed. Lets say I have 10 Reports and each has anywhere from 10-100 documents. My "Report" would get its own folder and each document created in corel would get saved into its corresponding folder numbered. After the report is finished I would reset my counter and start the next report in a saved in new folder.
Creating an Automatic Number field every opening or printing? - CorelDRAW Graphics Suite X8 - CorelDRAW Graphics Suite X8 - CorelDRAW Community
Look like this?
Thanks for the reply. That's close but I need the actual filename to count not a text field inside the file. Essentially need a new blank document created with a counter. Similar to how ctrl+n creates Untitled-1, Untitled-2, Untitled-3, and so on if you continue to press ctrl+n. I just need to be able to manipulate the "Untitled" text portion.