excel-2007

How to use a name defined in an excel file to another excel file

我的梦境 提交于 2019-12-13 04:47:53
问题 I have defined a name for a data range in an excel file. Now I want to use the same name in different excel file. I tried through various sources but not sure how to do that. Current Soln: I am copying the data from the source file and re-defining the names for the range. But this seems to be duplicate and creates unnecessary space. Please let me know a good approach for this. 回答1: In a different Excel workbook you would need to specify the workbook name that contains the named range (and its

MS Excel - replicating a series of cells [closed]

痞子三分冷 提交于 2019-12-13 04:39:00
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I have the following data in a spreadsheet: I I need a formula/workaround that would give me the following: Thanks, 回答1: You can reference and repeat data by using the INDEX function. Placing the formula =INDEX(A:A,FLOOR((ROW()+4)/5,1),1) into a cell on the first row ( B1 , C1 , etc.) and copying down will

Excel 2007 Zombie Process not COM automation but w/ references to 3rd party com objects

风流意气都作罢 提交于 2019-12-13 04:34:29
问题 I'm developing an app that uses Excel on the front end and accesses remote data through a 3rd party API over COM. The app is directly coded in Excel VBA (i.e. no COM automation of Excel.) Sometimes Excel doesn't exit when the user quits, after running my app, thereby creating a zombie Excel that consumes ~50% of CPU. I've read the existing 'Excel won't exit' answers here on SO - they all seem to be related to Interop / COM automation of Excel. Any suggestions on how to ensure Excel exits in

Excel 2007 XML Source Maps - Refreshing Schemas

限于喜欢 提交于 2019-12-13 03:55:43
问题 I have a spreadsheet that is reporting on xml docs generated by an application. I'm using the functionality that allows you to create the format of the spreadsheet by dragging and dropping elements from the XML Source pane into your sheet. I don't have a schema (at the moment) - Excel is just inferring from a supplied XML document. Due to a spec change the XML format has changed - there are now some extra elements at a couple of places. I can't see how to get Excel to refresh the fields

c# excel 2007 print preview ribbon

眉间皱痕 提交于 2019-12-13 03:47:20
问题 is it possible from c# to add some groups, buttons,... to excel-2007's print preview ribbon... why? i wanted to put some images on that ribbon so that user by selecting the image will be able to put it on a sheet (where ever on that sheet by dragging it) and print it with that sheet... many thanks! 回答1: You do this the same way you add a group to any existing excel ribbon tab. Create a VSTO add-in project and add a Ribbon XML class. Inside the ribbon.xml file, this will give you a group with

How to Implement a minimize feature on a combobox in Excel-Vba?

拈花ヽ惹草 提交于 2019-12-13 03:14:43
问题 Someone please help rather a newbie in Excel-Vba. How do i implement a minimize feature at the top right panel of a combobox something just like a browser? 回答1: This is modified from this posting Drag a toggle button onto your form, and place this code anywhere in your module. Click the toggle to "minimize" and again to reverse it. Play around with the numbers to get the height and the position the way you want it. Dim dWidth As Double Dim wasTop, wasLeft As Integer Private Sub ToggleButton1

TintAndShade and PatternTintAndShade in Excel 2003

蓝咒 提交于 2019-12-13 02:34:06
问题 I added TintAndShade and PatternTintAndShade to an Excel 2007 vba macro. A colleague tried them out in Excel 2003 and found that those commands did not work there. How can I then convert the following code into something that will work in Excel 2003? With Selection.Interior .Pattern = xlSolid .PatternColorIndex = xlAutomatic .Color = 5296274 .TintAndShade = 0 .PatternTintAndShade = 0 End With where the lines that need conversion are: .TintAndShade = 0 .PatternTintAndShade = 0 Note: I use this

calculate consecute streak in excel row

三世轮回 提交于 2019-12-13 02:13:43
问题 I am trying to calculate 2 values. Current Streak and Long Streak. each record is on 1 row and contains a name and values each of those columns has a value from 1 to 200. Example: John Doe 14 16 25 18 40 65 101 85 14 19 18 9 3 Jane Doe 24 22 18 5 8 22 17 17 15 2 1 5 22 Jim Doe 40 72 66 29 25 28 Jan Doe 27 82 22 17 18 9 6 7 9 13 For each row, I'm trying to find the "current" streak and "longest" streak. The values have to be <= 24 to be counted. Data goes left to right. John: Current 2; Long 5

Evaluating data in Conditionally Formatted cells by color to return data in a column

只愿长相守 提交于 2019-12-13 01:38:49
问题 I have used conditional formatting to shade cells red in a saved range named "Loops_1000" that have duplicate values. For discussion sake the range is A1:Z100 . So now I have maybe 100 cells with various tag data in them (e.g. C-03012034 ). The formatting is General. I want to search the Range and find all the red colored cells (background red = 3 I believe) and return the data in them to a single empty column (AA) in ascending order. I looked up one solution on this site utilizing Name

create macro that will convert excel rows from single sheet to new sheets

断了今生、忘了曾经 提交于 2019-12-13 01:24:13
问题 I need to create macro that will convert excel rows from single sheet to new sheets. I have 3 Rows of headers followed by lots of rows of data. I would like to place each row on this sheet "Dept" into new sheets of their own (with the exception of the header rows). On each new sheet created, I would like the top 3 rows (the headers) repeated and formatting copied (if possible), then the single corresponding row from the "Dept" sheet. I would also like the new sheets to be named the value