Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6350987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:54:58+00:00 2026-05-24T21:54:58+00:00

First, a big thank you to anyone that read this question and can help.

  • 0

First, a big thank you to anyone that read this question and can help.

I’m sing VS2010 and I’ve created a Excel 2007 Add-In Project using the wizard, then I added a new folder to my project called Ribbon, and inside it created a New Item which is a Ribbon (Visual Designer).

From here I’ve added a new group to the ribbon and a new button. I double clicked on the new button and am presented with this code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Tools.Ribbon;
using System.Xml.Linq;

namespace UploadFCStats.Ribbon
{
    public partial class FCRibbon
    {
        private void FCRibbon_Load(object sender, RibbonUIEventArgs e)
        {

        }

        private void button1_Click(object sender, RibbonControlEventArgs e)
        {

        }
    }
}

Now all I want to do is color some cells, or store some values in variables, and then create a connection to a SQL server and use an insert statement to upload some data.

However I can’t seem to access any of the typical Excel properties. Now I am new at C# and Excel Add-In’s but have a great understanding of C++, Java, and Excel. Nothing I’ve googled has helped me in this instance.

My best guess is that I’m missing a library, but after some fiddling that didn’t seem to solve my problem. Using this button, how do I grab values from the worksheet? How do I color cells? How do I access formula functions inside of excel?

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T21:55:00+00:00Added an answer on May 24, 2026 at 9:55 pm

    Read some basics about creating an Excel 2007 Add-In and start with Globals.ThisAddIn.Application

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a big project that was first created in Borland C++ 6. We're
First let me say that I really feel directionless on this question. I am
First off, this may be the wrong Forum for this question, as it's pretty
I'm looking for a jQuery plugin that can help me with the following: I
First of all, this isn't another question about storing images on DB vs file
I'm in University studying computer science. This is actually my first big assignment but
Before anyone close this question or complain... I've been looking all over StackOverFlow site
Please check this page first http://balipremiermanagement.com/ in that page, there is a slide show
I'm working on my first Ruby on Rails aplication and it's quite big (at
First off, there's a bit of background to this issue available on my blog:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.