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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
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,214,976
Messages
6,122,541
Members
449,089
Latest member
davidcom

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