I have a range of cells in a column where I put in properties of contents of another range of cells. If i put in the word "broken" in any of those cells (say B12) i like to have an input dialogue box popping up automatically. This is where the user 1 is supposed to give a brief description of the broken item.
The next user, 2, (which repairs the broken item) shall gain access to the written info made by the first user just by selecting cell B12. I like it to be a MSG Box that pops up automatically when the cell is selected. Just to clarify: The MSG box shall contain the words written in the dialogue box by user 1.
I'm trying to convert this code so it transfers the data without the input box being needed.
Dim response As Long Dim strLastRow As String Dim rngC As Range Dim strToFind As Variant, FirstAddress As String Dim wSht As Worksheet Dim rngtest As String Application.ScreenUpdating = False
Set wSht = Worksheets("Transfer Sheet") strToFind = Application.InputBox("Enter Your Initials") If strToFind = False Or strToFind = "" Then Exit Sub
With ActiveSheet.Range("H2:H5000") Set rngC = .Find(what:=strToFind, LookAt:=xlWhole) If Not rngC Is Nothing Then FirstAddress = rngC.Address
Do strLastRow = Worksheets("Transfer Sheet").Range("A" & Rows.Count).End(xlUp).Row + 1 rngC.EntireRow.Copy wSht.Cells(strLastRow, 1) Set rngC = .FindNext(rngC) Loop While Not rngC Is Nothing And rngC.Address <> FirstAddress
I would like a macro that will call up the SAVE AS dialogue box and populate it based on the contents of a cell. So far, I can save the file with a name taken from a cell but I'd like the user to be able to choose the location. I haven't been able to crack that yet.
I have made a macro in a xltm book that will open the "Save As" dialogue but I would like it to default to xls file type instead of the user having to select it in the drop down box.
In addition to this I would like it to name the file based on a returned "=NOW ()" function from a cell (sheet1!G13) that has been mdms date formated which returns an unique document number each time for our reference.
Here's the code so far which works fine for the "save as" dialogue box part
I wish to use the custom option on autofilter several times. The problem is it closes every time I enter a new filter criteria. Is there a way to force it to stay open until I choose to close it? That way I don't have to use the pull down list to choose custom every time.
I have written a macro which opens a worksheet, performs various operations on it, and closes it again. The problem is that upon close, two separate dialogue boxes appear - one asking me if I want to save, the other asking me if I want to keep what I have copied in the clipboard.
Is there a way of answering these dialogue boxes (or suppressing them) from withint he macro, so I do not need to manually click on Yes or No each time the macro is run?
I am importing a text file that has a lot more than 256 columns. The data will be updated weekly with a different text file. I know how to get past the 256 column limit when importing a text file like this. This link explains the method I am using to import the text file. [url] Since I am importing onto several sheets I get the dialogue box asking me to choose a file to import from for every sheet when I use RefreshAll. The same file that is used by the first sheet will be used by the rest of the sheets. Each sheet just imports a different section of columns from the text file. I want to avoid choosing the same file 30 plus times (once for each sheet) when I click refresh all. Is there a code that would allow me to choose the file for the first sheet, and the other sheets would follow suite?
I have a sheet named "Fittings Summary" with an export button. I need some code that will copy range A1:G38 of the fitting summary sheet then open a dialogue box asking for the following "Please Enter Tag No" once a tag number is entered I would like a new sheet to be created in the same workbook named with the tag no entered previously then the copied cells pasted into it. I would like to keep the formatting of the cells but not the formulas within.
I am trying to create a macro which gives me an input box. I need to enter 2 numbers into the input box. It would be as follows:
Input Box Msg 1 - "What is your labor cost?" (NUM1) Input Box Msg 2 - "What is your productivity rate?" (NUM2)
Then I need the macro to take this info and enter it into a formula which changes according to the row which you are on. (I need the macro to work based on which ever cell I currently have selected). The formula would be this if I currently had a cell on row 10 selected:
So, if I currently had cell L10 selected, and I ran the macro and put 100 in for "NUM1" and 10 for "NUM2" and my sheet had 20 in cell H10, then the macro would enter the number 1,000 into cell L10. If I had L500 selected, then the macro would enter the final number into cell L500 based on what value H500 contained.
I am just starting to get my feet a little damp with VBA and I am trying to make a macro that will act whenever any text is entered in any cell within a 3x3 square. Whenever any text is entered in any of those cells I would like it to enter a text ( "X" ) in a cell which is specified by a cell in the spreadsheet (this cell will output which cell the macro should write the text in in this format "A:1" or "C:3"). How can I make the program act only in reaction to the user entering thier text, and also, how can I get the macro to read A:1 and enter the text into that specific cell? Any help would be so awesome, the book I have is really difficult to navigate.
I am in need of VBA code so that I can fill out an input form generated by someone elses macro input box. (I am the user, not the one developing the input box).
I am working to streamline a whole cluster of macros and this input box is currently my bottleneck. When the input box pops up, instead of me manually typing, I want to autofill the space with "104" and then click 'ok' uisng VBA.
I can not modify the actual VBA that created the input box (ie make 104 the default) because other users need the box to be blank.
find out how a developer would change the original vba code, not how a user can interact with an input box by using vba.
I have a spread with five tabs. Each tab is a person's job responsibilties for numerous properties. Each person works with a property called Orange Avenue. I want to create a tab for JUST Orange Avenue items but want it to automatically pull any and all info from each tab where that person's Ornage Avenue duties are.