Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default What VBA learnign bokos would you recommend? (Available in the UK)

Something that would tell me how e.g.

Application.ScreenUpdating = False
LastRow = Range("F" & Rows.Count).End(xlUp).Row
For r = LastRow To 2 Step -1 ' Headings in row 1
If Cells(r, "F").Value = "Closed" Then
Rows(r).Copy Destination:=Sheets _
("Interim").Range("A2").Offset(off, 0)
Rows(r).Delete
off = off + 1
End If
Next
Application.ScreenUpdating = True
End Sub

Would be made/explained

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 245
Default What VBA learnign bokos would you recommend? (Available in the UK)

'Turns of screen updating to stop annoying flicler.
Application.ScreenUpdating = False
'Defines the last row in Column F
LastRow = Range("F" & Rows.Count).End(xlUp).Row
' Counts Backward from the lastrow in column F
'Copying Cells where the value = "Closed"
'And Paste them on a Sheet Named "Iterim"
'Then Deletes that Row
For r = LastRow To 2 Step -1 ' Headings in row 1
If Cells(r, "F").Value = "Closed" Then
Rows(r).Copy Destination:=Sheets _
("Interim").Range("A2").Offset(off, 0)
Rows(r).Delete
off = off + 1
End If
Next
'Turns Annoyng Screen Flicker Back On
Application.ScreenUpdating = True
End Sub

As far as Books go ....
http://spreadsheetpage.com/index.php/books
Anything here will get you going. HTH


" wrote:

Something that would tell me how e.g.

Application.ScreenUpdating = False
LastRow = Range("F" & Rows.Count).End(xlUp).Row
For r = LastRow To 2 Step -1 ' Headings in row 1
If Cells(r, "F").Value = "Closed" Then
Rows(r).Copy Destination:=Sheets _
("Interim").Range("A2").Offset(off, 0)
Rows(r).Delete
off = off + 1
End If
Next
Application.ScreenUpdating = True
End Sub

Would be made/explained

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default What VBA learnign bokos would you recommend? (Available in the UK)

Go into a decent bookstore and look at Power Programming or VB For Dummies
by John Walkenbach, or VBA Programmers Reference 2007 by Bullen, Bovey,
Rosenberg & Green (I think I got those right).

--
__________________________________
HTH

Bob

wrote in message
...
Something that would tell me how e.g.

Application.ScreenUpdating = False
LastRow = Range("F" & Rows.Count).End(xlUp).Row
For r = LastRow To 2 Step -1 ' Headings in row 1
If Cells(r, "F").Value = "Closed" Then
Rows(r).Copy Destination:=Sheets _
("Interim").Range("A2").Offset(off, 0)
Rows(r).Delete
off = off + 1
End If
Next
Application.ScreenUpdating = True
End Sub

Would be made/explained

Thanks



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
Recommend template for expenses Kellie L New Users to Excel 6 December 19th 07 05:20 PM
Can anyone recommend a reference book phocused Excel Worksheet Functions 14 January 11th 07 12:33 PM
Can someone recommend an Excel VBA Book? [email protected] Excel Discussion (Misc queries) 1 October 18th 06 08:56 PM
Recommend books Mike Cranford Excel Worksheet Functions 1 March 6th 05 04:16 AM
Can anyone recommend a good book? Nicola Brennan Excel Programming 9 November 5th 03 12:10 AM


All times are GMT +1. The time now is 04:58 PM.

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

About Us

"It's about Microsoft Excel"