index > Visual Studio Tools for Office > Dynamic Array of NamedRanges

Dynamic Array of NamedRanges


My database has "x" number of entries of "salary" and "hours". I want to be able to create an array of namedRanges (do not want to use cell numbers) that will be inserted dynamically with eash subsequent entry of "salary" and "hours". How can I accomplish this?

C# code would be preferable :).

Thanks


kundalani
Why not just use a listobject ?

http://msdn2.microsoft.com/en-us/library/ms178806.aspx

SaurabhB
I'm having a real hardtime databinding listObjects programatically. Any good links on that?

If I have a formula applied to a cell which sums up several cells; Can the value in the cells of the listObject be Summed on the client side with my applied forumla?


kundalani

Here are some links to documentation about binding data to a ListObject:

How to: Map ListObject Columns to Data

How to: Fill ListObject Controls with Data

Binding Data to Controls Overview

I hope this helps!

Kathleen McGrath
http://blogs.msdn.com/kathleen




This posting is provided "AS IS" with no warranties, and confers no rights.
Kathleen McGrath - MSFT
reply 4

You can use google to search for other answers

 

More Articles

Installing an outlook Addin on another machine
imageMso attribute
Two questions for creating Outlook AddIn with VSTO
Getting Number of Charts and Setting Titles
Word Publish: The Web server does not appear to have the FrontPag...
Attaching solution to Document on the fly
History for bookmarks in MS Word
Packaging Wizard - Root Installation Folder
Bug Caching Non-DataSet objects in ServerDocument???
How to Populate the value Dynamically in the DropDownList.
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

How to Set Default Form for Outlook Fold…
Extracting images from Word VSTO document
Outlook 2007: How to stop progress bar i…
VSTO SE Beta for office 2003
Access Database Synchronizing
Generating an MS Word doc on the fly
Adding Smart Tag interferes with Actions…
VSTO 2005 Command Bar opening WinForm pr…
Deploying Word Template
Serious Error with Action Pane/User Cont…
How to disable database schema validatio…
usersettings & specific path
Read Application Manifest Without Using …
How to set the Formuals options of Ex…
how to use ribbon control(Office 12) wit…

Hot Articles

Deleting Excel Sheet, and setting the ca…
Modifying the Office 2007 Ribbon
Getting contact information from Outlook…
VSTO 2005 for Outlook links
Custom Command Bar Items
How to implement a gallery in ribbon, it…
DOS
square brackets
DefaultSorting Bookmarks
ASP.NET & MICROSOFT OFFICE WEB COMPO…
Automating Excel Workbook
VSTA and Access 2007
CommandBar Button Images when disabled...
Send email using Outlook (Question 2)
IDE VSNET2005 VSTO2 Crash: Help me pleas…

Recommend Articles

InfoPath - WebService - BizTalk
Installation 2 or n times
VSTO in msdn
VSTO 2005 SE Outlook Form Regions, CTP a…
File Download feature in ASP.NET
word 2003 - complex xsd
VS 2005 Tools for Office (English Versio…
Good tutorial on VSTO
Error:"The Assembly could not be fo…
Generating New Word Doc from C# Applicat…
How does OWC use a XML formated OLAP cub…
VSTO and Microsoft Office
VSTO Solution is not running on client's…
Runtime Pure virtual function call R6025
Scaling a VSTO Excel document