#16
|
|||
|
|||
Hi Bob. The main function we're after is to take pricing that we have in a spreadsheet (third image of orig. post) and turn it into the character strings (one per product) that we will then upload into the website. My apologies if I was unclear on this point.... |
#17
|
||||
|
||||
I don't know that you were unclear; I got it right eventually. I think I just read unclearly.
Ok, then forget VBA (unless of course you want to learn more about it for other reasons). For export, I think it's easy enough to use Excel formulae to create that string, just concatenating the various pieces, then manually cut-and-paste into the text file. I've made a sample—a preliminary and unsatisfactory sample—in the attached workbook. It will need some tweaking to do everything you need, but it should show you how I think you might go about it. What it doesn't do, yet, is:
|
#18
|
|||
|
|||
Quote:
We can put 'NO AD' & 'WITH AD' text in the price table & include it in concatenation. Every item does not have same # of columns or same qty breaks. Regarding top qty, we can put whatever we want there, can't we? Whether it be an actual # like 9999, or a plus sign, etc.? (Your M1 had a -1 instead of a + as originally posted.) Quote:
Attached are two spreadsheets. 'Pricing sample.xlsx' is an abbreviated pricing table example that we would use to calculate pricing. The legend within that will explain a bit about the data; the 1-4 categories correspond with different pricing seasons we have within the selling year. Let's say we are currently in pricing season 3 and getting ready to go into pricing season 4. We need to create character strings just like those in 'Miva pricing string sample.xlsx', but with the pricing values from the '4' rows (rather than the values of the '3' rows as they are currently). |
#19
|
||||
|
||||
@ daymaker
Forum threads are easier to read when quotes are limited to a minimum. If you are just answering the previuos post, perhaps quote a couple of words instead of entire paragraphs. After all you and Bob are the only posters so far, so it's easy to follow the thread with a minimum of quotes
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Loss of formulae values when mail merging excel to word | MellowMel | Mail Merge | 6 | 05-09-2014 09:08 AM |
How to convert a text file to an Excel file with the data format automatically? | mradmin | Excel | 6 | 10-16-2013 10:34 AM |
Handle Text / Numeric values in SSRS while Export To Excel | achuki | Excel | 5 | 02-07-2012 02:14 PM |
How Do I Put Text Values Into A CSV That Excel Will Leave Along? | eBob.com | Excel | 2 | 05-04-2011 07:01 AM |
Merging two Word files with one file having a text box | Timothy2001 | Word | 3 | 01-23-2011 07:01 PM |