+ Reply to Thread
Results 1 to 7 of 7

Idiots guide to macros and buttons

  1. #1
    Registered User
    Join Date
    12-23-2006
    Posts
    12

    Idiots guide to macros and buttons

    Hi all

    If this question is answered already, then I apologise,
    I have tried to use the searh function in the forum but it dosent find any macthes for me

    I have never done anything with macro's before (am not too bad on formulas though) and have been trying to follow the help in excell, but getting now where fast

    I am trying to add 2 buttons to each worksheet to go to the other 2 worksheets

    ie.
    button 1 in worksheet 1 to select worksheet 2
    button 2 in worksheet 1 to select worksheet 3
    button 1 in worksheet 2 to select worksheet 1
    button 2 in worksheet 2 to select worksheet 3

    you get the idea

    I can get the button onto the workshet and can name it for where i want it to go to, but the button clicks and nothing happens

    I have tried to record the macro as well but don't know if i am doing that right as I am not entirely understanding the process that it is doing

    is there a idiots guide somewhere that I can have a look at to explain the macros process in english for me instead of double dutch

    thanks for your replies in anticipation

    Again sorry if this has been answered before

    Gordon

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Do these links help

    http://www.mcgimpsey.com/macoffice/w...ignmacros.html

    http://www.ozgrid.com/Excel/assign-macros.htm

    http://wordtips.vitalnews.com/Pages/...Your_Text.html

    http://exceltips.vitalnews.com/Pages...Worksheet.html



    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    You don't need a macro to link to another cell. Try Hyperlinks

    http://www.techonthenet.com/excel/hy...ks/create1.php

    http://www.homeandlearn.co.uk/ME/mes11p4.html

    http://peltiertech.com/Excel/Hyperlinks.html

    VBA Noob

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi again,

    Example spreadsheet

    VBA Noob
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-23-2006
    Posts
    12
    Thanks for the Qick reply VBA Noob

    Do these links help
    Kind of

    I can get the button up and be able to click it but noth happens

    when I go to edit macro this is what i get
    Sub sheet2()
    '
    ' sheet2 Macro
    ' Macro recorded 24/12/2006
    '

    '
    End Sub
    Sub sheet3()
    '
    ' sheet3 Macro
    ' Macro recorded 24/12/2006
    '

    '
    End Sub
    I am not sure if I am recording it correctly of if I am barking up the wrong tree alltogether

    Thanks Gordon
    Last edited by VBA Noob; 12-24-2006 at 10:28 AM.

  6. #6
    Registered User
    Join Date
    12-23-2006
    Posts
    12
    Got it

    Thanks for all your help

    Thank you

  7. #7
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    No problem

    Thanks fo the feedback

    VBA Noob

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1