Build string with For loop based on IF getting unexpected results...

sstiebinger

Board Regular
Joined
Nov 7, 2013
Messages
135
All,

Thank you for taking the time to read this post.

https://dl.dropboxusercontent.com/u/5611192/Sales Package - Test for Word Proposal.xlsm
https://dl.dropboxusercontent.com/u/5611192/Proposal.docx


The word doc is the template that the strings are being written to.
I've also noticed that my "Date" string is not working, if you can take a look at that as well.

Feel free to give pointers on factoring / cleaning up my code as well, thanks!

When I run the code on the "Create Proposal" button and view the results, the Products and Options all evaluate to "False" ... what am I doing wrong?

Please let me know if you need more information.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Found the issue... I was attempting to use formatting in the string (specifically, add "Bold formatting to part of the string" which is not supported.. I have to bold the text after the fact.
 
Upvote 0

Forum statistics

Threads
1,215,062
Messages
6,122,925
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top