I want to get data like Workspace,Projects,Sub Projects,Releases etc from Rally in excel Macro
I am able to connect to Rally but I Need code in VB scripts to get the Workspacelist and selecting a workspace project list, upon selecting a project sub project and then release.
There is an excel add-in that makes it very easy to query data from Rally and pull it into sheets in excel. Are you using that? Once the data is in there it should be straightforward to manipulate in VB. We don't have any existing tools for doing this natively in VB though.
Related
I would like to change TFS Excel Add-in List Query programmatically using excel macro.
I have requirement to provide bulk edit work items functionality using ASP.Net Web Application. I am planning to create pre-defined excel template (Bind with Empty TFS Query) and copying it to web server. I am creating TFS Query programmatically based on user input (work item id) and downloading this template file on client when user request "Bulk Edit" functionality. I want to run macro which will update TFS Excel Query and refresh list pragmatically. I tried sample app to refresh TFS Excel list (https://blogs.msdn.microsoft.com/team_foundation/2010/11/06/programming-for-the-tfs-excel-add-in/) which is helpful but I would also like to change "List Query". I also tried accessing TFS Excel custom properties to change connection string or query but not sure which property and how? I need input for following items
Change TFS Excel Add-in List Query programmatically using excel
macro OR
Update TFS Excel Custom Property to update Server / Query
name and refresh list
Well, there really is no supported allready prepared way to do that. Here is the official doc from MSDN: https://www.visualstudio.com/en-us/docs/work/office/bulk-add-modify-work-items-excel
I want to build an authentication system based on an Excel spreadsheet database. Therefore I would like to know if it's possible to use ADO.NET in the IDE integrated in Excel. (I don't want to use visual basic studio)
If you add a reference to the ActiveX Data Objects, you can use the ADODB suite of objects - Connection, Command, ResultSet etc.
I presume what you'd do is just show the "Login" sheet on opening the file and then, on successful authentication, show other sheets.
As it's Excel though, I'm not sure how easy it would be to bypass for somebody with a reasonable amount of knowledge.
Best of luck with it.
I am trying to make an application in VB6.0 using MS Excel as database. I have some textboxes on my VB Form to take input from user. I want to store those values in an Excel file. There will be another form where I want to retrieve the values from Excel and display it in textbox/labels.
Can I use SQL queries for inserting/retrieving the values while using Excel as database?
I just need a sample code for understanding the process. Rest I will try to manage.
Thanks in advance.
It's a poor idea.
While you can treat an Excel workbook as a data source via the Jet IISAM or ODBC Desktop Driver this is really meant for simple importing and exporting and has numerous limitations.
Save yourself some grief and just use Jet 4.0 to create and make use of MDB files. No MS Access is required, Jet 4.0 comes preinstalled and has for a rather long time now.
So I have been using ASP for all of a week now and perhaps this is something that I just can't do, but I am trying to dynamically generate reports from data stored in a SQL database. I am publishing the reports through an ASP document and displaying by specifying Excel for the MIME content type:
Response.Buffer = TRUE
Response.ContentType = "application/vnd.ms-excel"
Is it at all possible to "attach" macros to the document? I understand I can do basic formatting in the HTML, but I would prefer to import the desired database data and handle it within excel via macros.
EDIT:
I have several reports I need to generate but for one example:
I want to load retrieved data from the database into a sheet in excel.
Attach Macro
Begin Macro:
Hide the specified sheet.
Programatically create new sheets for categories of data.
Format sheets.
The question is not about how to program the macro, just whether or not a macro can be attached and how to achieve this. In regards to alerts upon opening the sheet, if I can attach macros I should, theoretically, be able to suppress those in the Open Workbook event.
EDIT: I believe I can achieve the desired result by using OWC (Office Web Components) (see http://support.microsoft.com/default.aspx?scid=kb;EN-US;288130). However, I am not sure if I will be able to install it on our Web Server. Any other suggestions?
While it is possible in a strictly technical sense, it is neither simple nor advisable. The recipient of the sheet will get multiple prompts related to the security of your macros; the source of your macros; and if they really, truly, honestly meant to click to enable macros...
Can I create a macro written in C# for Excel that allows me to export a cell's data to a SQL Server or Access database?
Basically, I'd like to create a button in Excel that saves the data in certain cells to a database. Can this be done?
Instead of creating a UI from scratch for a program, I've decided using Excel as the user environment would be better for business needs.
How to automate Excel by using Visual C# to fill or to obtain data in a range by using arrays would be a good starting point.
Be aware, you're going to find it frustrating to control what people attempt to enter into the Excel sheet, as the inherit flexibility of the data works again your efforts to write it to a database destination.