I have a macro to create a report and it selects to place in the pivot table. The problem is that sometimes in my basic data for creating the pivot table, not all the same fields are there. Here is what it looks like for this section now.
With ActiveSheet.PivotTables("PivotTable2").PivotFields("Category Id") .PivotItems("ARMS/AMMO/EXPLOSIVES").Visible = False .PivotItems("COMPUTER").Visible = False .PivotItems("COUNTERFEIT GOODS").Visible = False .PivotItems("DRUGS").Visible = False .PivotItems("GENERAL MDS/OTHER").Visible = False .PivotItems("PROHIBITED ITEMS").Visible = False End With
In the instance for today, the field "Drugs" is not in my main data. So I get an error box and it stops because the category is not there. How can I get this to continue if one of the fields is not found?
I have a macro that imports a report. If the Charge Type in column A is BTOREPLX, I need to prefill the field next to it in column B with the text "REPLX", e.g. "REPLXCDROM". I've attached an example of the report.
In building my pivot table my data that I want to show in the column area is showing up as rows stacked on top of each other. In the column section I'm trying to show Total Budgeted Amount next to Total Actual Amount but on the layout it's showing the two stacked on top of each other is there some kind of hidden key that I'm missing?
I have a simple formula ='info page'!b2&'info page'!b5 in places that on my sheet adds a company prefix to a item number, prefix in b2 and item in b5, we have a client that we cant use prefixes but now when I leave the field blank its giving a zero and thats not good either. I'm pretty sure an IFERROR or something will work but can get the syntax right.
I have a tab called 'Tab1' in which I have column called 'Col1' and 'Col2'.
I have another tab called 'Tab 2' with columns 'ColA' and 'ColB'. When I enter a text in Col1(Tab1) I would like that text to be compared to data in 'ColA' from Tab 2 and when match found then get the corresponding value from ColB and autopopulate it in Col2 of Tab1.
I have done the two obvious checks regarding my missing Status Bar, both in View and Options and still the Status Bar refuses to show itself. I have shut down Excel with the options unticked hoping that on restarting and ticking them the bar will re-emerge but still no joy and also done vice-versa. how to get the Status Bar to reappear?
I have received a spreadsheet by email and when I opened it the formulas all had errors. I did a little investagating and found that when I use the viewer to open it there is an additional tab that is missing when I open it in Excel. I did check for hidden tabs but then realized that the formula would have still worked even if the tab was hidden, in this case it is just missing.
I have a hyperlink in my excel file which refers to cell in a separate excel file (which no longer exists). I therefore would like to remove this 'dead' link as it keeps trying to update it when I open the file.
I don't remember where this hyperlink is in this huge multi-sheet file so I can remove it! How do I have excel show me all hyperlinks and the option to remove them?
I am facing a problem importing Excel data into a finicky graphics program. This program can't accept strings and numbers in the same column. Hence, strings such as #NA, or Excel's standard "" can't be used where there are missing values, as the entire column is then ignored.
But, I would like to provision for future data below the rows that currently exist.
Let's say I am trying to read data from Sheet1 of a workbook. The rows in Sheet1 contain formulas referencing other sheets (e.g. Sheet2!C1-Sheet2!C2). So, if Sheet2 doesn't have data in a certain row, Excel would show 0 in the formula on Sheet1. That would mess up my graph. If I use any other string or "" using a If statement for missing data, then the graphics program doesn't work.
Is there any way say, using dynamic ranges or similar, to populate blank cells in Sheet1 as data arrive in Sheet2, without a pre-existing formula being present in these Sheet1 cells? I can imagine that VBA macros will easily do this (e.g. the thread on Autofill below). But, is this possible without having to trigger a macro as and when additional data arrive?
i have a bunch ofdaily rates back from 2005. sometimes ill have one or even 2 or 3 missing rates in a row. when there is a blank rate, i just want excel to calculate the average of the date below and the date after. right now, ive just been going manually to each missing date's rate and calculating the average.
I have created a 4 page chart in landscape with text in each of the 4 columns in the chart.
When I looked at it in print preview the chart did not fill the page and so to widen the last 2 columns I dragged them over to the right hand margin. I am still definitely within the right hand dotted line showing the margin limit.
The problem is that I cannot now put a border line down the extreme right hand column. Every time I click on any of the border instructions in the Font tab nothin appears on the right hand side of the box.
I have been working on a pretty extensive Excel Workbook for quite some time, finished it today after testing it multiple times, everything was working fine on my PC. But after I pasted the document on one of the network drives at work, I started getting compile errors. I am getting these errors on basic functions that I used in my code such as Date, and the Left and Right functions. I figure I must be missing some sort of reference...the error I am getting is (Compile Error: Can't find project or library).
I can't understand why everything worked fine on my computer and as soon as I paste it on the network, the application blows up for my coworkers.
we are currently upgrading from Win2000 and Office Pro '97 to WinXP sp2 and Office Pro 2003. I am testing our applications for compatibility and am discovering many that fall over because mscomct2.ocx is missing. Does it normally come as standard in Office 2003 or not? If not, when did it stop being standard?