Goodday,
My project is an excel-sheet where I every day manually put data in about the loading an unloading information for these 2 trucks.
I want to make 3 times a day an update of the way the trucks have load or unload there cargo's at the customer. In my sheet "customer" I have in columns A1 the tekst.
In (Yellow) columns B,E,H stands the data of the driver Carlos what he is doing this day. What he has deliver at these 3 update times that day and what the situation is on these 3 update times.
I have to make a code that wil now put all the information from column B, Cells B1 to B32 in my email body. But the cells B23 to B32 contains no information at the specific update time 07:45 of my driver Carlos.
What i want is that when I run the code that the code looks at column B from cell B1 to cell B32 and sees which cell of the "B" colomn contains data. If there is NO data in colomn "B" at a row then there must be no copying of that cell information to my email body. e.g. the cell B23 is empty, than also the information of cell "A23" must not be copy to my email body.
The only information of cells in colomn "B" what I want for myself to put in the email body must be also free to choose.
I have also upload an image how the email must look like and the image of my "customer"-sheet.
Hopefully someone can help me out with this code what I have found here on this forum and trying to get it work for my project.
I have also the problem that I can not pick the cells in my sheet and put it in the vba code make anymore cells A31 and B31 & A32 and B32. I have in my code to many vbnewline 's. There must be another way to do what I want.
The code sofar:
12-2-2018 23-28-59.jpg
12-2-2018 23-41-06.jpg
Please Login or Register to view this content.
Bookmarks