LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 947
Default #1 How to best learn VBA? #2 Division problem question

...I'd like the page to scroll down, along with each new Prime.

Are you referring to this kb article?
http://support.microsoft.com/kb/202782/en-us


This is not the best, but something quick n dirty:

Change:
ActiveCell.Offset(Count, 0).Value = y

To:
If Count 10 Then _
Application.Goto Cells(Count - 10, 1), True
Cells(Count, 1).Value = y


and change to this at the beginning:
Count = 1

Again, this is not the best, but it may give you some ideas.

--
HTH :)
Dana DeLouis
Windows XP & Office 2003


"George C." wrote in message
...
On Fri, 22 Dec 2006 15:29:28 -0600, "John Bundy"
wrote:

Had to build a couple back in school, how large of a number are you
needing?


Hi. I found one on the Microsoft site, after extensive searching
around.

It starts with two dialogue boxes for first integer and final integer.
It's MUCH more simpler than the concoction I had in mind.

BUT I still have a question.

I generates the primes, and goes down column A as it posts each prime
found. But, I'd like the page to scroll down, along with each new
prime that is entered.

I found this command, but cant get it to work:

ScrollActionLineDown(0,1)

Please advise.

Thanks, once again




--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"Hrundi V. Bakshi" wrote in message
.. .
Hi, I appreciate everyone trying to help.

If left to me to program, it simply won't happen..
So could someone please point me to a prime number calculator written
for Excel VBA ? That's all I'm looking for (at this time).

Thanks,
Hrundi








 
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
Division and formatting excel question Sako7STW Excel Discussion (Misc queries) 1 January 3rd 10 05:03 PM
Division EK Excel Worksheet Functions 2 May 3rd 07 04:05 PM
Time Division Question metaltecks Excel Discussion (Misc queries) 4 September 10th 06 02:59 AM
excel division formula question trey braid Excel Worksheet Functions 2 January 17th 06 01:46 AM
Division problem Wondering New Users to Excel 4 January 27th 05 10:39 PM


All times are GMT +1. The time now is 09:18 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"