HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows Vista

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-24-2008, 05:11 AM
horsepro001
 
Posts: n/a
Default Looping and If Structures

Please help, and thank you in advance. I am trying to loop the following If
Structure until Range("E2") = "":

If Minus1Var >= ABCvar3 Then
ABCvar4 = Minus1Var * Range("E2")
Range("E2").Delete Shift:=xlUp
Range("D2").Select
Range("D2").Insert Shift:=xlDown
Range("D2").Select
Range("D2").Value = ABCvar4
Range("D2310").Select
Selection.Sort Key1:=Range("D2"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
End If
Reply With Quote
Sponsored Links
  #2  
Old 04-24-2008, 11:10 AM
Malke
 
Posts: n/a
Default Re: Looping and If Structures

horsepro001 wrote:

> Please help, and thank you in advance. I am trying to loop the following
> If Structure until Range("E2") = "":
>
> If Minus1Var >= ABCvar3 Then
> ABCvar4 = Minus1Var * Range("E2")
> Range("E2").Delete Shift:=xlUp
> Range("D2").Select
> Range("D2").Insert Shift:=xlDown
> Range("D2").Select
> Range("D2").Value = ABCvar4
> Range("D2310").Select
> Selection.Sort Key1:=Range("D2"), Order1:=xlAscending,
> Header:=xlGuess, _
> OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
> End If


You've posted in a newsgroup dealing with general questions about the
Windows Vista operating system. You should post programming questions in a
programming newsgroup. Here is a list of all the public MS newsgroups:

http://aumha.org/nntp.htm

If you don't see what you're looking for there, posting in a non-MS
newsgroup for developers in whatever programming language you are using
would be the next step.

Malke
--
MS-MVP
Elephant Boy Computers
www.elephantboycomputers.com
Don't Panic!
Reply With Quote
  #3  
Old 04-24-2008, 11:14 AM
Richard G. Harper
 
Posts: n/a
Default Re: Looping and If Structures

Vista doesn't loop - it soars.


If you have a question about a specific programming language, macro or
application software you would do better to post that question in a
newsgroup specific to the application software or programming language
you're trying to use.

--
Richard G. Harper [MVP Shell/User] rgharper@gmail.com
* NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/
* PLEASE post all messages and replies in the newsgroups
* The Website - http://rgharper.mvps.org/


"horsepro001" <horsepro001@discussions.microsoft.com> wrote in message
news:AD974F21-6748-4F45-8816-F35765880593@microsoft.com...
> Please help, and thank you in advance. I am trying to loop the following
> If
> Structure until Range("E2") = "":
>
> If Minus1Var >= ABCvar3 Then
> ABCvar4 = Minus1Var * Range("E2")
> Range("E2").Delete Shift:=xlUp
> Range("D2").Select
> Range("D2").Insert Shift:=xlDown
> Range("D2").Select
> Range("D2").Value = ABCvar4
> Range("D2310").Select
> Selection.Sort Key1:=Range("D2"), Order1:=xlAscending, Header:=xlGuess,
> _
> OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
> End If


Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looping Userinit.exe when logging on bigfub Windows XP 0 03-06-2008 12:05 PM
safe mode looping Bruce Windows Vista 1 12-22-2007 02:47 PM
Windows Product Activation' keeps looping Sven Maes Windows XP 5 11-05-2007 08:19 AM
Looping message on windows VR on every boot up SAL Windows Vista 0 09-13-2007 03:34 PM
Windows mail looping? Eric Microsoft Office 1 05-06-2007 05:07 PM


All times are GMT. The time now is 01:33 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger