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

Macro to copy cell every 7th row (Excel2010)

I have Googled this question but have not found a simple answer.I need to copy two adjacent cells down every 7 rows in the same column. Would do it manually but have some 4000 rows. Thanks for any...

View Article


macro open file

Hello, I am looking for a macro that does this: I select a file in the column "File"> click the open file button. The files to be "open" in the folder written in A1 I attach the sample file. Thanks...

View Article


copy rows to another file

I have a very large excel file and i want to copy specific rows (ex. 61, 277, 358, 6547, etc) to another excel file. thank you

View Article

Image may be NSFW.
Clik here to view.

How to automatically use input values and copy results to a different worksheet?

Hi, I’m quite new to creating macros, I basically only played with recorded macros.., and I’m lacking the skills to solve a problem I have. Hopefully someone can help with it. See the attached example...

View Article

Image may be NSFW.
Clik here to view.

Can't set shape with names from cell values

I have a couple of hundred string values in column A. I am trying to create the same number of rectangle shapes in column B, each one taking its name from the corresponding cell in column A. I keep...

View Article


Can I automatically hide rows that contain no linked data?

Hi! I have two linked workbooks, one containing a large data table, and the other containing individual worksheets that extract the data from the large table via HLOOKUP equations in each cell. Is...

View Article

Writing to another workbook

Periodically when a cell is updated I need whichever of the 10 to 20 satellite workbooks to post three cells to the receptionist's workbook. The receptionist's workbook is normally open, but if it is...

View Article

Image may be NSFW.
Clik here to view.

Beginner needs help macro to only show rows of a spreadsheet that match list...

I receive the daily update spreadsheet from multiple crews each day. Column D in that spreadsheet has a location name in it. I have a list of locations that I am responsible for in Column A of My...

View Article


Need an Advance Sorting code/VBA.

Hi Guys, My data has about 500 rows from Column I to R (total 10 columns). The data in row N & O are duplicated.. And row O data can be Self-Duplicated Now I need to sort: I 1 9 15 J APPLE Sony...

View Article


Compile Error "End With without With"

I am getting a "Compile Error" on the VBA code below, that says "End With without With". Then it highlights a line in my code at the bottom area. (See where I labeled it with <<< below, on...

View Article

Column References in VBA

Probalby a very basic question, but I am still new to VBA. How do I reference a column by its letter, rather than its number? At the moment I have various column numerical references in my code, e.g....

View Article

Image may be NSFW.
Clik here to view.

Create Leger Account with the help of pivot table

I have CASHBOOK worksheet and I want to create Leger Account with the help of pivot talbe. Attached Files CASHBOOK.xls‎ (123.0 KB) Download

View Article

Verical to Horizontal Array

I hope someone could help me. I have a consecutive list of dates going down column A, Column B has a series of numbers which goes from 1 - 6. Column D has numbers specific to each Example: A B C D...

View Article


Image may be NSFW.
Clik here to view.

Auto sort a table with formulas

Hi, I have a adjusting table which auto sorts based on the latest weeks results. Using the following code Code: Private Sub Worksheet_SelectionChange(ByVal Target As Range)         Range("B5:H9").Sort...

View Article

Find cell with value from a column and insert formula in the cell to its left

I really hope someone can help me with this. I have a table with a set of names and ids. What i need to do across multiple sheets is to find the cell that has any name from that table and in the...

View Article


Import full webpage to excel.

Can anyone advise how I can import a website into a new worksheet (i.e. the whole webpage, not parts thereof), I will later print this to pdf. I can open the page I require using the following code:...

View Article

Auto Drop Down ComboBox

I have a table where I will be entering mass amounts of data. One of the columns contains a data validation listing and I created a macro to assign a combo box to appear where there are data...

View Article


Image may be NSFW.
Clik here to view.

Beyond Vlookup and INDEX/MATCH

Hi Guys, What I need is a VBA script that will perform a vlookup-esque task. Basically, I have one list of individual addresses, and one list of blocks of flats with a property ID. What I need to do...

View Article

Userform queries

Hi All I'm relatively new to VBA. I have designed a UserForm for other people to use and have used VBA to hide Excel, before loading the form, as some of the users "don't like it". If I use the close...

View Article

Want VBA to verify length on a cell

Need help on VBA code. Here are conditions: If cell A1 = either UP or UA then cell B1 must be 12 digits in length and ERROR massage will pop up if the length is incorrect If cell A1 = EN then cell B1...

View Article
Browsing all 49948 articles
Browse latest View live