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

Macro to choose different values from dropdown menu

Hi I have a drop down menu with different dates. Next to it I wrote all different dates in a column and next to it have a formula for different values based on the date and another input. If i change...

View Article


[SOLVED] VBA Step Into works as desired but running macro doesn't

Title says it all. Stepping through the below code does as desire but running the macro doesn't. I am specifically having issues with the Else portion. This is what happens when I run the macro...

View Article


Copy rows of data that meet date range criteria to new sheet

Hi there, I have a macro that identifies all rows of data containing an expiry date effective today to 60 days from now, and copies those rows to a new worksheet. I want to filter all rows that...

View Article

Popup message.

Hi All, i have a macro that works fine but i want to modify it, what i want is the same message to appear if it finds 1.4.3 or 1.4.4. Not sure what to do, do i add "1.4.3","1.4.4" ?, any help would be...

View Article

Macro to send specific cells to an email as text.

Hi all, I'm relatively new to VB programming in Excel. I was wondering if someone could help me modify the following script to allow me to specify certain cells in an Excel Spreadsheet to output to an...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] Copy and paste without Conditional Formatting

Hello: Please refer to attached file. I have data in Sheet1 as shown. (Note the color in the Sales are due to Conditional formatting). I need VB Code to copy data A1:F5 from Sheet1 and paste at cell...

View Article

Block Movement, or whatever should it be called.

Can you please time computation.xlsxhelp me make the macro for the block movement that I am working on. If you open the spreadsheet attached you'll see this: Column A is the letters Column B is where...

View Article

Image may be NSFW.
Clik here to view.

[SOLVED] Delete all rows except row A has word to

I want all rows deleted expect those that have the word to in column a Attached Files 09 17 rows TO.xlsm‎ (11.3 KB) Download

View Article


Forms instead of input boxes

Hello, My OCD has kicked in a day before I need this project done. I work for a snow removal company and have created an input sheet which then creates a proposal. I would like to have these switched...

View Article


Macro to automatically alphabetize the rows

Hello, When the user enters the record using a userform, it places the record at the first available row at the bottom. I would like to know if it's even possible to use a Macro to automatically...

View Article

Error with merged cells and blank cells

Hello I need your valuable help I have a macro with an The macro should count the amount of "R" in column J and place according to the Q column in the color matrix. What should I do to fix the error...

View Article

Image may be NSFW.
Clik here to view.

Getting the sum of 2 or 3 numbers within a cell separated by a space

Hi, Can anyone tell me if it's possible to create a bit of code that will provide the sum of 2 or 3 numbers within a cell separated by a space. In the attached file there are 2 examples. Example 1...

View Article

[SOLVED] Select A a range within a column Help

For you newbies, this is is something I struggle with a lot. -And you should look to master. For the masters, Help me nab this logic down... Code:   l = Range("M" & Rows.Count).End(xlUp).Row...

View Article


Update Macro/VBA with a Reference to a Cell in Workbook

Hello All, I have a decent understanding of excel. Notwithstanding, I am still a bit of a novice when it comes to VBA. Here is my dilemma: In an attempt to automate a query within one of my workbooks...

View Article

[SOLVED] Help with looping/dumping recordset

Hey guys, Have a feeling I'm over-complicating this one... I just want to loop through three different recordsets and dump one field. I have the loop so it begins at i = 7, so we start at range B7 and...

View Article


[SOLVED] Copy and paste random cells values from a range to another sheet...

Hi there I'm looking to see if there is any VBA way in which I can copy the cell values from one column, where the values may have blank cells in between, to another column in a separate sheet but...

View Article

Import from *.csv cuts off digits after comma

Hi, I've got a problem with importing many *.csv files into Excell. After importing, it cuts off digits after comma. I added this formula, hoping that it will import those numbers properly, but it...

View Article


[SOLVED] Worksheet_Change events, please help me make this code more effecient

Hi there, Can someone please show me how to tidy this up a bit, I feel it not efficient and maybe could use error handling as well. Its just to force upper case in one cell and to force default values...

View Article

Image may be NSFW.
Clik here to view.

Trying to make a program for my sheet to fill in info automatically

Okay folks I will try my best to explain what I am trying to do. I have a few different Game sheets that I have to fill out manually and would like to be able to hit perhaps add a sheet or click on a...

View Article

Sort only the selected rows

I have a spreadsheet that has several columns. Column C will be full of numbers only but with the exception of some containing the letter "F". When column C is sorted, it will put all the F's at the...

View Article
Browsing all 50121 articles
Browse latest View live