Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Cell Formulas vs. VBA

Rick,
I am with you and believe you are right.
That is my approach as well--simplest first, to learn the basics, then go up
from there.
I have had trouble finding books that were simple enough but I'll have
another look.
Tx for the feedback.
S

"Rick" wrote in message
...
The way to get started, is to get some easy-to-learn books
and be persistent. It takes years to learn programming.
No matter how hard or how boring at times, you keep at
it. All of the sudden, it starts making sense.

You might first start with one of Excel workbooks that
contain formulas, that you have. As a fun project, try to
convert it to a program with VBA. I'm sure a lot of
people here would help you get through the bottlenecks.

People make fun of me when I say this, but I admit to
using one of the yellow Dummies books. I first was using
the Learn-VBA-In-21-Days book, and then found the Dummies
book (Visual Basic 3 for Dummies) filled in the gaps for
me. I'm self-taught and now am very advanced. I got
there by swallowing my pride and starting with the most
simple books.

Rick

-----Original Message-----
Rick,
I am one of the guys that do the formulas that get really

complicated, etc.
They work but I feel that I would be much better off

using VBA--except I
have never gotten started learning it.
I've looked at books, etc., but they are all fairly

advanced and I just
didn't want to put the time in.
What would u suggest to get started in VBA on a real

gradual learning curve?
Tx,
S
"Rick" wrote in

message
...
Hi,

I've seen some people do nothing but use formulas, that
are nearly as complicated as programming (in a limited
sense with lots of nested if statements etc.). But, I
won't hesitate to do all my work with VBA. I abandoned
the formula method of Excel automation years ago (except
in some cases where it's just convenient etc.).

Once you have the VBA code written in place, it's just a
matter of having the computer loop it through from one

end
of the range to another. You can then do incredibly

more
and more...where you'll find that it seems like that

there
are no limits...just your imagination. The computer
processing speed and amount of data one has, also has to
be considered whether you want VBA programming or

formulas.

Once you learn and use VBA on a regular basis, I think
you'll find it much better. Anyway, that is my personal
preference.

It will be interesting to hear other responses. I'm

sure
everyone has a different answer with what works best for
them.

Rick

-----Original Message-----
Hello,

I have an excel workbook that has a worksheet that
consists of 30 columns
with 1000 rows.

One of my main columns of input is the Admit Date of a
Patient. From the
Admit Date, various Due Dates are generated at specific
points in time
(ie.14 days, 30 days, 60 days etc)

So, I would have a formula as follows -
=IF(AND

(Patient_Name<"",Admit_Date<""),Admit_Date+30,"" )

My question is, which direction is more efficient -
1) Creating formulas that are copied for 1000 rows or
2) Creating VBA code that only enters the result once

an
input has been
entered in the Admit Date column.

I am trying to figure out ways to reduce my 10 Mbs

excel
workbook.

Thanks
Ruan


.



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two formulas in on cell based on two numbers in another cell? Melody Excel Discussion (Misc queries) 5 March 19th 10 07:51 PM
Carrying formulas over to new cell when old cell is deleted: possi Karl Excel Worksheet Functions 0 June 24th 08 01:10 PM
How to trace a cell? Which cells use a special cell in formulas? SupperDuck Excel Discussion (Misc queries) 4 December 1st 06 04:17 PM
Copying formulas from cell to cell to cell to....... Tom Hardy Excel Discussion (Misc queries) 3 June 15th 06 03:29 PM
change cell value greater than another cell value using formulas Unsure? Excel Worksheet Functions 2 April 2nd 06 10:24 PM


All times are GMT +1. The time now is 04:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"