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

Image may be NSFW.
Clik here to view.

find blank cells in column and average the cells below

Hello, I have a worksheet that has some data that is a copy and paste from 2 different sheets. We calculate the percentage complete and then manually calculate the differences. I need some help in...

View Article


Creating a macro to print only the sheets and portion of sheets that i select.

I am trying to put together a macro that will print only sheet (Engineering E10 to P53), sheet (Load Data A1 to N38) and sheet (Proposal A1 to the last cell with text). The sheet "Proposal" could...

View Article


Create a loop instead of repeating code

Hello, I,m looking to create a macro or modify my current macro in two different ways. First, the code is repeating 10 times and if the same format is kept the code could get quite large based on how...

View Article

Image may be NSFW.
Clik here to view.

get macro to repeat through rows but not hidden ones

Hi I believe I'm looking for a loop but I just can't figure this out on my own I'm afraid (still learning). First off, I've recorded a macro (macro 2) that does what I want it to do for the 1st 2 rows...

View Article

[SOLVED] Macro: Format Painter Button

Hello, Eventually once I get this macro working I will assign it to a button: I am trying to create a macro that will reference D5 and copy and paste the formatting from D5 to my initial active cell....

View Article


VBA: If cells in row colored x then x ...

Hey guys, finishing up a project of mine and I'm needing some more VBA help. i've got the code below: Code: Sub finalizer()     Dim lstrow As Long, lstcol As Long, x As Integer, y As Integer...

View Article

Using VBA to name each sheet with the dates.

Ok. Stumped here again. Trying to name all the sheets in a book with the month, day and year. I got i to work kind of but not like i want it to. First time usin actual VBA, so I'm sure I'm doing...

View Article

How to update a Combobox when changing the source data?

Hello, I am working for years with Excel, but for the first time I've started a project using VBA. I've read a lot (often on this forum), watched tutorials, and played a lot. Most created functions are...

View Article


Excel VB Macro help...

I have a macro written in VB that works but not "perfectly". Basically it looks at a range of cells and replaces X text with Y text. Very simple. The problem that I have is I would like for it to...

View Article


Copy and paste cells data once another cells value meets a certain criteria

Hi I was wondering if anybody is able to help me either add to this code or suggest some other to get over a slight issue I am having? I wish to copy an paste the value from cell B1 into cell C1 when...

View Article

need help re hiding rows in a range based on cell contents

In Excel 2010 I have a single-column range (1x50) whose cells each contain zero up to a few short alphanumeric snippets separated by spaces (eg: etf, ad, etf 3m5, f hei7, etfg ...etc.). I need a VBA...

View Article

Macro Excel 2007 to get clipboard

I wish to make a macro that will paste All from the clipboard Excel 2007 ( do the same as the Paste All Clipboard button ) The cell is A1 sheet "H" after it has pasted there another macro to clear All...

View Article

Create List in Ascending order and unique value

I want that value which is returned by below formula will be ascending order and with Unique value. "=OFFSET(Details!$B$2,0,0,COUNTA(Details!$B:$B),1)" Please Help.

View Article


Macro that opens last modified file in folder

Hello, I need a macro to open last modified (by date) excel file in a specific folder and display msg box with name of opened file. If possible it will be great to made that if file is already opened...

View Article

Formula vlookup does not update automatically in macros.

I have a problem with a vlookup function. It does not update after i start a macros. The macros takes the information between two files concatenate them in one cell and replace the existing cell in my...

View Article


Converting latitude longitude to decimal degrees

I have an Excel spreadsheet with latitudes like 42° 26' 16.00" and longitudes like -123° 21' 27.00". I need to convert them to a decimal format like 43.538724 and 10.46. I'm trying to use a VB script I...

View Article

How to determine range to select once a reference cell is found?

So i am a complete newb to this and am looking for help on something that should be simple. This is my first real attempt at writing anything in VBA. I am pulling data from a txt file and then parcing...

View Article


VBA does not supporting arabic /right to left languages/

hi every one ... I've excel 2010 and I know very very littel about programming and vba but I'm looking forward to learn... I've a workbook writen in arabic and i want to give my first macro the name...

View Article

Construct a formula on a pre-determined cell for a pre-determined duration of...

Hi all I have a formula that divides a value 'X' by 1 to give a percentage, which when extended horizontally repeats the value until it reaches 100% and then stops:...

View Article

Image may be NSFW.
Clik here to view.

Searching for text within other Excel files

I have a situation where I need to search for text strings within hundreds of Excel files; I believe that a macro of VBA script is ultimately required. I have an index that includes a list of finished...

View Article
Browsing all 50067 articles
Browse latest View live