Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

vba courses london - excel vba

Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - Excel vba

vba courses london - Excel vba

ResolvedVersion Standard

Gunaratnam has attended:
Excel Advanced course
Excel VBA Intro Intermediate course
Access Advanced course
Access Intermediate course

Excel vba

i want to copy a result (name) on a different sheet one after another in asenting order.

RE: excel vba

Try this
Range("A1:A4").Select
Selection.Copy
Sheets("Sheet2").Select
Range("A1").Select
ActiveSheet.Paste
Application.CutCopyMode = True
Selection.Sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal

RE: excel vba

thanky you
in the above code
how the system will find the next available empty cell to past the data.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

VBA tip:

Stop Display Alerts In Excel

When creating or deleting a Worksheet in Excel you don't want Excel to inform you "A file already exists....." Or "Do you want to save this file...".

To stop these alerts happening use the following line of code:

Application.DisplayAlerts = False

After the Create or Delete routine use:

Application.DisplayAlerts = True

View all VBA hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.