+ Reply to Thread
Results 1 to 13 of 13

Macro to be there in single Button.

  1. #1
    Forum Contributor
    Join Date
    09-18-2008
    Location
    india
    Posts
    158

    Macro to be there in single Button.

    Hi Team,

    I have a macro which was developed with the help of our Experts.

    I need all that macros to be in 1 button would that be possible.

    I have tried this but not able to make it.

    Any Help is Greatly Appreciated.


    Please Login or Register  to view this content.
    Thanks & Regards,
    Shekar Goud.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: Macro to be there in single Button.

    Have the macro attached to the button call the other macro's

    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Forum Contributor
    Join Date
    09-18-2008
    Location
    india
    Posts
    158

    Re: Macro to be there in single Button.

    Hi Mudraker,

    Thanks for your intrest I have tried this but unforunate not succeded.


    Please Login or Register  to view this content.

    Regards,
    Shekar.
    Attached Images Attached Images

  4. #4
    Forum Contributor
    Join Date
    09-18-2008
    Location
    india
    Posts
    158

    Re: Macro to be there in single Button.

    Hi Team,


    Any Luck on the above.


    Regards,
    Shekar.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Macro to be there in single Button.

    pretty though the picture is it does not provide us with the information to resolve your problem.

    Which routine fails?
    What line in that routine fails?

    If you manually run each macro 1 after the other do you still get the error msg?
    Cheers
    Andy
    www.andypope.info

  6. #6
    Forum Contributor
    Join Date
    09-18-2008
    Location
    india
    Posts
    158

    Re: Macro to be there in single Button.

    Hi Andy,

    When i Run Manullay each macro works very well but when i called the macros in one then i encounter with this kind of error in evry macro.

    Is there any possiblity of resolving please suggest.

    Iam just an begginer in VBA.


    Regards,
    Shekar.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Macro to be there in single Button.

    probably but you didn't answer all the questions.

    where exactly does the error occur?

    you could try setting the TakeFocusOnClick property of the button to False

    Can you post workbook example

  8. #8
    Forum Contributor
    Join Date
    09-18-2008
    Location
    india
    Posts
    158

    Re: Macro to be there in single Button.

    Hi Andy,

    Thanks for all your Support.

    I did something to get the solution and that is working fine.

    In the code after Every End With i need an code which can copy the active column to next left column.

    Now i Need is Copy the active column and paste it to next left column.I have tried this but getting an error.


    Please Login or Register  to view this content.

    Iam attaching the pic of both error and when i tried to put the same in code.

    Please kindly help me.


    Regards,
    Shekar.
    Attached Images Attached Images

  9. #9
    Forum Contributor
    Join Date
    09-18-2008
    Location
    india
    Posts
    158

    Re: Macro to be there in single Button.

    Hi Team,

    I have struggling to reslove this could someone please give a solution.

    iam Attaching an excel sheet.

    1) In Column J(can be moved to i,J,K) i need the total of "Wright" iam adding the code aslo.

    2) In Column K(can be sometimes moved to J,K,L,M)i need the total of "Shekar" iam adding the code too.

    3)And finally I need all this in One Click Button.

    Please Kindly help me .

    Please Login or Register  to view this content.
    Regards,
    Shekar.
    Attached Files Attached Files

  10. #10
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Macro to be there in single Button.

    Assuming your routines all work this runnings without error.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    09-18-2008
    Location
    india
    Posts
    158

    Thumbs up Re:[Solved]Macro to be there in single Button.

    Brilliant since 4 days iam struggling for this Hats off to you.

    But still My Button dream remains same.


    Once Again thanks to you Andy.

    Regards,
    Shekar.

  12. #12
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Macro to be there in single Button.

    What button dream? Did you not try the one on the sheet by cell U13 ?

  13. #13
    Forum Contributor
    Join Date
    09-18-2008
    Location
    india
    Posts
    158

    Re: Macro to be there in single Button.

    Ohhhh really excellent.iam sorry i did'nt watched it.

    Really great thanks for all your help Andy.

    Regards,
    Shekar.

+ 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