[SOLVED] Want to read xvalues in charts
I know how to set .XValues. I just can't read them. These are bogus: ?ActiveSheet.SeriesCollection(1).xValues.count ?ActiveSheet.SeriesCollection(1).xValues(1) Can I get the count and the XValues...
View ArticleSetting module-level object variables
Maybe I'm using the wrong term here, but is it possible to set an object variable at the module or global level? Specifically I simply wish to name a given cell (well, over 100 of them) and then be...
View ArticleSum values based on filtered columns
I'm trying to create a macro because I think that is the only way to do this filter. What I'm trying to do is total column D, E, and F separate based on cell A, B, and C. I shaded the columns out to...
View ArticlePrinting with Conditional Page Breaks - Insert Conditional Value In Header on...
A working macro inserts a page breaks when the value in Column C changes -- works perfectly. Now, when printing, I want the value of that changing value from Column C to print in a cell that is part of...
View ArticleUsing ComboBox to fill data in cells of sheet1 from sheet2
Hello, I am new to VBA. I have done some VBA in excel before like adding command buttons to send a copy of .xlsm workbook as an .xlsx file as an attachment in an e-mail and calling data from the...
View ArticleApplication.Run Error When Using A Variable to Run Macro In Another Sheet
Hello! I am new to VBA and having trouble using a variable to run a macro in another sheet. The macro I'm trying to run is called "bride". It copies a range in a sheet that I want to paste in my active...
View ArticleConvert Range of a Pivot Table to R1C1 format
I'm trying to specify the range of a Pivot Table as the .RowSource of a Userform Listbox. It needs to be represented in R1C1 format. Can anyone tell me how to do that? (Note: the TableRange1 is the...
View ArticleVBA multi row highlight issue
Hello, I am working in Access to export a query to Excel. The number of records varies depending on the parameters selected. If there are more than 1000 records I would like to highlight alternating...
View ArticleCompare values in column a to column b, and put it in column c if they match
i'm trying to compare a value from column a to every value in column b, if they match, then copy that value to column c right now i have a function that will check column b and return a true/false if...
View ArticleSelect Cells with Data ONLY, Copy & Offset!
I've been searching everywhere for this but still can't find anything that works.. I have a series of text data in Column Y in every other row (Row 3, 5, 7, and so on) which needs to be copied and...
View Article[SOLVED] frome textbox to two sheets?How
I have a textbox thaat will go to two worksheets. One sheet will get all the data and the other just part of the data. Sheet two data is txtCon,txtLname And txtFname. I have created a form. I posted...
View ArticleReplacing numbers into a string?
Hello, New to VBAs, but some Excel knowledge, CSS, HTML, and basic a long, long time ago. I am trying to replace certain characters in a URL with zip codes. I hope to generate a long list of URLs that...
View ArticleExcel has stopped working
Hi I have an Excel file with VBA procedures on which I was working - adding additional procedures. All was working fine. I closed the file and copied it as a back-up. When I tried to re-open the file...
View ArticleSORT Method difficulty
:confused:I have a workbook with a worksheet named Constants. It has a Named range called ClinicTable. The named range is currently $A$9:$E$48. I am writing a macro to sort this range by column A....
View ArticleProject with AddIn runs fine in Excel 2000, 2003 and 2007...2010 crashes
Hi all I have a project that I've been working on since 2009. Recently rewrote much of the Code to move all the Worksheet Code to an existing AddIn using Class Modules. This project is a "Dave Ramsey"...
View ArticleInsert New row in another sheet and Loop based on values in certain cells
Dear Friends, I am designing a entry screen for some products. I need to make like a FORM to enter the data and accordingly a ROW should be inserted in another sheet (LOOP). I have attached a sample...
View Articlevba mailmerge problem
This is a strange problem (for me, at least). I am using word mailmerge function to print a form letter from vba code in excel. After a few attempts, I managed to implement this function using the code...
View ArticleActive sheet paste any body solve
Dears When try to copy sheet from one workbook to another showing error. Any idea? regards Thameem.
View ArticleFind TextBox1.Value in another workbook
Hi all First time posting, so hope I do everything correctly :D I have 2 workbooks, 1 containing information of different projects and the other workbook contains ressource information. In the workbook...
View Articlehi im new to VBA need some help copy and pasting with a twist.
i NEED A MACRO THAT WILL COPY THE NAMES FROM MY LIST NAMES AND PASTE PASTE IT ON A7:A19, BUT THE MACRO WOULD HAVE TO LOOK FIRST ON CELLS A42:B47, A49:B52 FROM (sHEET NAME1) AND EDENTIFY EACH CELL WITH...
View Article