Whats A Good Way Of Learning VBA

Sep 1, 2006

I would like to build on my Excel VBA but not sure where to start. P.s I want to aim towards reporting side of things so make reports look good, copy data from sheets onto another sheet, formatting all done through vba, macros

View 8 Replies


ADVERTISEMENT

Need Learning Resources For VBA Syntax

Mar 24, 2009

I would like to know where can I find a good resource to learn about VBA syntax. I have VBA books and there are some examples of code in there but when I'm trying to read someoneelse's code I just get into commands or syntax I don't understand. For example I would like to be able to go some site and decifer what this line (or it's parts) means: If(cnt < MAXTEST, sDigSep & String(MAXTEST - cnt, "9"), "")

View 4 Replies View Related

1st Steps To Learning VBA/Macro's

Feb 21, 2010

Need advice/opinions of where to go 1st to learn all about VBA/Macro's from a novice point of view.

View 3 Replies View Related

Whats The Best Way To Paste A Formula With VBA

May 4, 2007

I am trying to paste a vlookup formula with a macro, my problem is that I only need it to be as long a column "B" whats the best way to do this.

View 9 Replies View Related

Two Columns Of Data And Trying To Get Function That Tells Whats The Same In Each

Jan 22, 2013

I have two colums of data with names in them, Column A and B. I want to see what names in column B also occur in column A and I want to put this function in column C. So for instance if I want to see if "John" is also in column A and if he is then I want column C to say yes beside Johns name in column B.

View 3 Replies View Related

Code To Delete Whats Written In A Range Of Cells

Oct 19, 2009

I use this code to delete whats written in a Range of cells ...

View 6 Replies View Related

Find A Good Book On Formulas

Jan 29, 2009

if I could find a good book on formulas, I might be able to raise the bar on my questions.

View 3 Replies View Related

Formulas To Occupy All Rows. Good Or Bad?

Jul 2, 2008

Cell A1 can have only 0 or 1. Cell B1 can have any numeric value. Cell C1 takes the value of B1 if A1 is 1, otherwise it is 0. So, C1's formula can be either "=A1*B1" or "=If(A1=0,0,B1)". Lets say this formula is continued down to the 65000th row. My question is which formula is faster? The first one or the second one?

View 2 Replies View Related

Macro To Go To A Hidden Worksheet. Good/Bad Idea?

Feb 22, 2010

I have an excel document displaying graphs that i would like to link to from a menu page (via a number of buttons). The problem is that i have about 12 of these graph sheets (along with 8 other sheets) and i'd rather not have them cluttering up the worksheet tabs list at the bottom of the screen.

Does anyone have any suggestions about how to handle this? Is a macro to open a hidden sheet and then close it once it is navigated away from a reasonable option? Or does Excel protocol suggest that they should remain visible, despite their cluttering..

View 6 Replies View Related

Good Way To Reset Variable Each Loop To Empty?

Apr 15, 2012

I'm using a variable to loop down a column of data. Each time it loops the variable may or may not perform an operation - it will if there is something in the cell but won't if the cell is empty. It writes the answer of the operation to an ajoining cell, before looping again.

The issue is that if the row cell is empty, what's written to the ajoining cell is the pre-existing value of the variable, because its value hasn't changed.

how best to 'empty' the variable each loop to ensure either that the correct value or nothing at all is written to the ajoining cell?

View 5 Replies View Related

Aggregate Number Of Good And Bad Results Per User On Different Sheet

Jul 4, 2014

I have a database file where users name can be located in 2 neighbor columns. Against each user name (in next 2 cells on the right) there is a evaluation (good or bad).That database will be growing and new additions will be added each month. That means one user can appear several times on a different row with different evaluation.

In the same file I have a separate sheet where I need after running a macros to have aggregated list of users (in one column) and against each user I would like to see how many how many good and bad score he have. It will be good if users are sorted in alphabetical order.

I am providing an attachment with example file.

View 2 Replies View Related

Good, Average, Fair, Poor: Automatically Use One Of The Numbers That I Have Set And Add It To Total

Jul 20, 2006

In creating a chart that calculates home prices I need to be able to just enter "Good", "Fixer", "Remodeled", etc...and have that automatically use one of the numbers that I have set and add it to my total. I have created a box with variables for "Good", "Fixer", "Remodeled", etc...How do I make it so I can put any of those variables into the condition of the house row and make it add the dollar amount specified into the totals box? This is the very simple code that I am using to find the totals so far: =SUM(C5:J5)

Here's what I need:

Also, the plug in values in the first picture WILL CHANGE and I don't want to have to change the formula. So I need something to point to those cells.

View 4 Replies View Related

Sorting In Spreadsheet Where Lines Are Sequenced By Finished Good And Component Parts

Jul 29, 2013

I have a very large inventory spreadsheet (30,000+ lines) where finished goods are listed on one line and the raw materials (parts) that make up that finished good are listed below. After the last raw material for a finished good is listed, the next finished good is on the next line (and so on). First, I need to sort the lines to eliminate certain common raw materials. Next I need to take the lowest raw material inventory level and have that as the default inventory level for the finished good.

View 2 Replies View Related

Replace Bad Names From A List Of Good Names

May 14, 2009

create a script that will replace the names in column A on sheet1 from a Master sheet in the same workbook?

The problem is that different users are entering data on sheet1 col A in different ways example someone may enter Johnc or John C Or John What I want is for something to run down col A on sheet1 and look for the like name on the master sheet if the name matches then do nothing but if the name is like another name on the master sheet then replace the name if they are almost alike.

View 11 Replies View Related

Enhancing Conditional Formatting: Write "NO DATA", "HIGH", "GOOD", "MODERATE", "POOR", "BAD" Depending On The Value

Jul 6, 2006

I would like to write a function that enhances conditional formatting capabilities in this way: suppose that cell(4,5) contains a number that can be 0 to 5
in the adiacent cell(4,6) i want to put a function that:

1) write "NO DATA", "HIGH", "GOOD", "MODERATE", "POOR", "BAD" depending on that value
2)Choose color font depending on value
3)Choose color background depending on value

I wrote this piece of

Public Function StatusResponse(AdiacentCell As Range) As String
Dim thisStatus As String
Dim ThisFontColor As Integer
Dim ThisbkColor As Integer
Select Case AdiacentCell.Cells(1, 1)
Case Is = 0
ThisbkColor = 2
ThisFontColor = 1
StatusResponse = "NO DATA"............

View 2 Replies View Related

If Formula: =IF(D4<0.38,"Thin",IF(0.38<D4<=0.48,"Good Shape","Bad Shape"))

Jun 23, 2009

I have D4=0.42. I thought this formula =IF(D4<0.38,"Thin",IF(0.38<D4<=0.48,"Good shape","Bad shape")) was supposed to give me "Thin" for D4<0.38, "Good shape" for 0.38<D4<=0.48 and "Bad shape" for the contrary, but it only gives me "Bad shape" when D4 is clearly between 0.38 and 0.48.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved