Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-10-2013, 09:01 AM
nschroeder nschroeder is offline Need VBA Function in Word table formula Windows 7 64bit Need VBA Function in Word table formula Office 2010 64bit
Novice
Need VBA Function in Word table formula
 
Join Date: May 2013
Posts: 3
nschroeder is on a distinguished road
Default Need VBA Function in Word table formula


We have loan approval Word documents that contain numerous tables of customer information, often redundant. We want to be able to enter common borrower data in one place and have it replicated where needed, and this applies to potentially multiple secondary borrowers in the same document. We tried using Insert - Quick Parts - Document Property, which works fine but is limited to 15 values, and we need more. I'm trying to create VBA functions and pull the values into table formulas, but I'm getting a syntax error. For example, in the document code, I have:
Code:
Function Bor1Name()
    Bor1Name = "Joe Deadbeat"
End Function
In the table, if I put a formula: =Bor1Name, I get "!Undefined Bookmark, BOR1NAME". If I put =Bor1Name() I get "!Syntax Error, ("

Any suggestions on how to get the formula/function to work? Or is there a better way to accomplish what we need? Links to data in an Excel document won't work for this app, since the data is coming from a web site.
Reply With Quote
 

Tags
function table formula



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need VBA Function in Word table formula Data table search function omtinole Excel Programming 1 07-13-2012 10:03 PM
Formula help in word table mygsdsni Word Tables 3 01-04-2012 02:36 PM
Need VBA Function in Word table formula Would appreciate help with formula or function e_a_g_l_e_p_i Excel 1 03-12-2011 08:53 PM
Need VBA Function in Word table formula Formula and Table Help! steveman1234 Word Tables 2 03-28-2010 06:20 PM
Help with Word table formula fritman99 Word Tables 1 09-02-2009 05:36 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft