Hi everyone,
I don't know why I never thought of posting this issue here, but I'm trying for the last 3 months to figure out what is it that I do wrong
This is my file and the relevant code below.
I made this function (I don't even remember how, LOL) That when I put the data inside cells and click on SUBMIT, the script will:
Compile a PDF file containing the table data, save it in the defined folder, and created a hyper link in "Data sheet" that I can recall this PDF file when I want.
The Problem I have is with NAMING. I simply want the file to be named: The service type (e.g. Lunch, Breakfast etc) and the date.
The service type is in P6 and the date is in J6 (Right now you see in the code something else because it crashes)
No matter what I do, I get an error when the script is trying to save two cell values that one of them is a date. I tries EVERYTHING!! nothing works
I would highly appreciate any assistance here
Sampl 2.8.xlsm
![]()
Please Login or Register to view this content.
Bookmarks