I pulled some good info from some other posts to get me to a certain level but have hit a road block.
I am pasting data into a template, formating all the data w/ a macro (got that one running good)
Then I am pulling one pc of the pasted data to generate a file name by extracting part of a cell [ LEFT(xx) ] and contencating it with some other fixted strings then copying teh final result and pasting it as a value so that I end up with just a text entry of my desired file name. Extension and all. I found that I can even include the path into that and the Save-AS command seems to recognize it.
Problem is, while the file name and path end up as desired, it won't actually save the file. The macro stops after opening the Save-As dialog and selectes the folder and inserts the file name but when I click Save, it just closes and saves nothing. I did notice the the file name was enclosed in quotes in the dialog box. Not sure if this matters or not.
Current code is using the ChDir funtion to select my Save-As folder. Seems to work ok.
Code is as follows:
Contecated string for file name is "GTR_CAS-1004_V02-31.pdf"Please Login or Register to view this content.
If anyone can point out what I may be doing wrong (probably multiple things), I would surely appreciate it.
Doug
Bookmarks