Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Browsing all 50054 articles
Browse latest View live
↧

[SOLVED] Delete certain rows with criteria

Hello: I need to delete all rows which has word "Page" in column A Please help Thanks Riz

View Article


increase number if cell directly above is equal

I've been trying to use the IF formula and have had no success. Basically, I have a list of prices in a table. If any given cell in the table is equal to the cell directly above it, I would like to...

View Article


Image may be NSFW.
Clik here to view.

Create a combo box to filter & display data

Hi all, I have a query regarding combo boxes. I'm very new to knowing about macros/vba so sorry in advance if I get any terminology wrong! I've attached an exmaple file to hopefully explain what I'm...

View Article

Change Event - Set specific range for target question

Can I set a specific range for target instead of every cell in an active worksheet? Let's say I would like to show a userform whenever Column(5) has a value of "Success". If another cell outside...

View Article

vba to search word and extract following 3 words

Hello, Need macros to search certain word (in example "client") in the column and copy to the next column searched word together with following 2 words. Words are separated by space: mr dear client...

View Article


subscript out of range when trying to select a sheet.

Hi can someone help me, in the below lines im getting an error on the Sheets("TempLRS").Select.... this row brings up a subscript out of range error. in column A there will be a choice of 5 different...

View Article

Delete rows based on criteria? help

Hello I am currently using this script which prompts a dialog box and deletes the rows based on the users input. I need to alter it to do the opposite - i want it to KEEP the rows based on user input...

View Article

Standard size while inserting pictures with VBA/macro

Hey guys, I've got a VBA/maco for auto placing the picture with the standard size: Height: 1,27 cm Width: 1,69 cm The VBA I use is: Sub test() Dim myFiles, e myFiles = Application.GetOpenFilename(, , ,...

View Article


[SOLVED] need help setting range in worksheet change event

I have a number of worksheet change events that are all versions of the below. The events call 2 macros "ChangeData1" or "ChangeNoData1". I used to have the code that is in ChangeData and ChangeNoData...

View Article


Vlookup problem referencing another workbook

I would like to run a vlookup using VBA on a workbook when its closed, I am using this to find the workbook and referencing it later in the vlookup. However, every time I run this it is coming up with...

View Article

How to Add the Possibility of Letters into VBA formula

Pretty new to Excel. Putting together a user form with 8 different text boxes. In those text boxes should be numbers the user puts in. I have a code that automatically add the numbers from the text...

View Article

Scroll Bar to scroll columns horizontally

Hi All- I'm making this request because I'm stumped... I had a request in my department to add a scroll bar to the top of one of the worksheet to aid folks in not having to go down to the bottom of the...

View Article

Using VBA to find HTTP redirects

Hi, I'm trying to find a way to get VBA to do the following: Follow a URLCheck if it's being 301 redirectedGet the URL it's redirecting toCheck that the redirect is not a 404 I made a way to use...

View Article


counting the number of tym a macro has been run

i have created 8 buttons and assigned them to 8 different macros. it is necessary for me that i find out how many tyms each of this macro button has been pressed. and also can i tabulate that data(of...

View Article

Split Data into User Defined Groups

I have a list of numbers in column A that i would like to be seperated into every other column in groups of X amount. Sometimes it can be 15 and sometimes it can be 18. I would like the user to be able...

View Article


Sub to Delete Rows Beneath Chart

This macro is supposed to find the first empty cell in Column A and delete the next 100 rows below that. However, It doesn't seem to be working for me. If I run it 4 or 5 times in a row, then it will...

View Article

VBA sort database sheet

I created an excel doc for printing labels at my store. I use various forms I have created with some VBA code to do what I want. Overall I have been able to do most. One thing I am having difficulty...

View Article


Run-time Error Multiple Selections SpecialCells xlCellTypeBlanks

Hi all, Using Excel 2007 I'm trying to create a range object using SpecialCells(xlCellTypeBlanks) so I can then add a VLookup formula to each blank. Excel is returning this error Quote: Run-time error...

View Article

Loop though CheckBoxs to see if check and return a value in a cell accordingly

Hello, I am trying to have a Userform that pops up where the user then chooses a series of CheckBoxs then hits done and it will place a value ("Y") in that cell. It links off of another userform but I...

View Article

Insert descriptive text in another row when specific number is entered

Using a customized form at work...I need to insert about 3 lines of a text decription when the number for that text decription is entered in the line above. Example...a parts order form. When I enter...

View Article
Browsing all 50054 articles
Browse latest View live