Help with loop
Wanting the input box repeat four times, that part of code works. However, I want the new values to be entered on the next empty row of worksheet of column 5 or ("E"). Ex: Enter Weight of cavity #1...
View ArticleCopy data from External Files Referenced in column A
I am using Windows 7 with Excel 2007. I am new at this and would appreciate any help given. My master workbook has in column A filenames (over 100) for each row of data (ie...
View ArticleFind a value in one column and use a value in the same row for another...
Hello all I have a macro that creates a batch file based on what a user selects from one column of drop down menus. What I need some help with is including some extra information if the user needs to...
View ArticleIs it possible to do a comm.button with scrolling caption /changing caption?
Hi all Is it possible to do a comm.button with scrolling caption /changing caption? Like a comm.button that shows : report problem -> changing to: suggest new idea -> changing to: share...
View ArticleHow to pause a macro whilst letting a web query finish and then resume macro
I am very new to office 2010 excel vba so please keep your answers simple. I have a list of films starting at Cells(i, j) ( which is B12) and going downwards. I have a web query setup that...
View ArticleNeed help on how to display image based on range of numbers
I'm a VBA newbie trying to create an excel "software". I'm creating a tool for rating. I wanted to know if its possible to display a certain image based on a range of numbers. For example, a star...
View ArticleCombining Msg Boxes
Could someone help me combine these into one Msgbox? I have one message box that has multiple lines that I joined with the & vbNewLine &, but I want the lcount to be included and I can't...
View ArticleFind and Replace
Hello Seniors, I am novice in macros and I have a pretty simple problem. I have a workbook with multiple sheets. I have a command button in sheet2. When I press this command button I need to replace...
View ArticleCombobox Ignores Formula
Hey all, 1. I have a dynamic range in Sheet "Main Menu" that lists about 6 purchaser names. 2. My Combobox is located in Sheet "Create PO" 3. I applied the following code; however, nothing happens......
View ArticleAllow user to open a file and copy the contents?
Hi..I am pretty new to VBA. I am trying to achieve the following but not able to proceed further: Environment: Excel 2010 I have a source file (a.xls) Allow the user to open a file (b.xls) Copy 3...
View ArticleStoring Range Values into Array
Hello, I am having an issue when trying to store values from a user selected range into a data array. I want to do this so that I can pass this array into another subroutine and create a histogram. The...
View ArticleReferencing Multiple Items from Pivot Field in macro
Hey all, I am trying to create a macro that will change all pivot fields with a certain name to the value I have the master pivot changed to. For example, I have 5 pivot tables, which each contain the...
View ArticleHow to paste special Formulas
I have this code: Code: Range("AA7:AF7").Copy With TargWb.Sheets("Accounts") iRow = WorksheetFunction.Max(7, .Cells.Find(What:="*", SearchOrder:=xlRows, _...
View ArticleThe VBA code to insert a row between rows 6 and 7
What is the VBA code to insert a new row between rows 6 and 7 For worksheet "Accounts" Thanks! Here's the code: Code: Sub NewName() End Sub
View ArticleCopy/Paste based on Date Range
I would like to create a macro that will copy rows of data from one worksheet (Sheet1) and paste them in another worksheet (Sheet2), based on a date range. The column on Sheet1 containing the data's...
View ArticleGroup and give max value
Hello, I am trying to write a formula which would group values in one column and provide the highest numeric value of the group. I am not sure I am explaining well, so I made a workbook and am...
View ArticleSimple macro for multiplication/division
Hey guys, I'm trying to write a couple of really simple macros that will multiply or divide any given cell by 5. So I want to basically do =Formula(C6) to get me C6 x 5. Or to =Formula(D5) to get D5/5....
View ArticlePrevent User typing when Limit reached
Hello I am new to the forum, but I am a seasoned user of Microsoft products. What I am trying to do is use the Data validation (this part is easy) to reach a certain amount of characters in a cell....
View Article[SOLVED] Link Cell to DropDownList Value
Is it possible to link a cell to a combobox that is located on a worksheet (not userform) and retrieve the value form the combobox and place it in a cell?? ---------- Post added at 12:39 PM ----------...
View ArticleRunning macro only if linked cell are updated with values
Dear All, I have an excel with macro to create an outlook mail when i double click on any cell in column1. I have report names with information of categories included in the report. Report can include...
View Article