RSS Forums RSS
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums

Macros & VB to create various letters

Join Date: May 2006
Posts: 11
Reputation: heatherc3 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
heatherc3 heatherc3 is offline Offline
Newbie Poster

Re: Macros & VB to create various letters

  #5  
May 15th, 2006
Problem is that I don't really know how things will look...we're in the beginning of a huge software implementation, so I'm drawing up a mock up that will be edited again when we know the actual format. I'm told that it'll just put a bunch of data into csv (I'm assuming we'll use Excel to look at the file) and then the mail merge will use that, and the macros will translate it after that.

Assuming we get a bunch of data, like

name=lastname,firstname
id=123456
condAdmit=yes
ave=82

name=lastname,firstname
id=987456
condAdmit=no
ave=n/a (or blank)

do I need to use 'if...then' statement? I'm mostly stuck on how to build in the logic so that it can decide if a student should get one kind of a letter over another. VBA is so new to me - I'm working on this with a textbook beside me.

Do you think I'm going about this the right way?
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:03 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC