excel course tate modern - macro to change column
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and Help » excel course tate modern - Macro To Change Column

excel course tate modern - Macro To Change Column

The UK's most regular instructor-led training courses.
Training information: excel course tate modern · Excel advanced · VBA training UK

resolvedResolved · Low Priority · Version Standard

Macro To Change Column

Mekanto has attended:
No courses

by - delegate Mekanto [1 post] (2007 Nov 25 Sun, 15:50) replyReply

I need a macro the change the column selected with a cell reference. For example C3 to E3, Without changing the row.

For some reason macro's will not record when I press the arrow keys.
Thanks,
Mekanto

Excel VBA 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2007 2008 Oct 13 Mon + 14 Tue Bayswater 0 FULL    
2003 2008 Oct 23 Thu + 24 Fri Southwark 0 FULL    
2003 2008 Oct 30 Thu + 31 Fri Bloomsbury 1 book now £495 £495
2003 2008 Nov 3 Mon + 4 Tue Bayswater 4 book now £475 £485
2003 2008 Nov 17 Mon + 18 Tue Southwark 5 book now £450 £485
2003 2008 Nov 26 Wed + 27 Thu Bloomsbury 6 book now £450 £485
Full Schedule: See all 40 Excel VBA course dates.
Bookings currently available until 26th November 2009.

RE: Macro To Change Column

by - trainer Carlos gold contributer[439 posts] (2007 Nov 26 Mon, 10:16) replyReply

Hi Mekanto

The macro recorder only records the arrow movement if the Relative Reference button on the [Stop Recording toolbar is clicked.

Once its done if you move from C3 to E3, using the arrow, it will record the following code:

ActiveCell.Offset(0, 2).Range("A1").Select

NB This moves the cursor 2 columns to the right irrespective of the start point

If you require the cursor to always go to E3 then:

1. Record the macro without the Relative Reference button being selected

2. Select E3

The code is recorded as

Range("E3").Select

Hope this helps

Carlos


Related articles

· Benefits of learning about Excel charts
· 3 Reasons why Your Small Business Office Needs Microsoft Excel Training
· What's Better Than the Help Function in Excel? Microsoft Training
· Tools From Advanced Excel Courses: Goal Seek and Solver
· Microsoft Excel Training: Essential for Today's Employees

Excel tip:

Removing custom dictionary entries

If you add something to the custom dictionary in Excel you cannot remove it. The way to get around this is to go into word and remove it there.

View all Excel hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz