Posts by Qaiyum

    Hi Friends,


    I have one macro which was running successfully through out the year. But since from few days I am getting App Crash Error. Unable to understand the issue. Can you please help me in this regards.


    Following is the Error
    Problem Even : APPCRASH
    Application Name : Excel.exe
    Fault Module Name: StackHash_8f73
    Fault Module Version: 6.1.7601.17725
    Exception Code:c0000374
    Exception Offset : 000ce6c3


    Do let me know any additional information required.

    Re: Excel Sub Function Error


    Hi Scott,


    Still I am having same Error. Actually I want to copy an excel range and past into the mail body. Please suggest any further modification in code.
    Thanks for your valuable time.

    Re: Excel Sub Function Error


    I am error in rangetoHTML in below code


    Hi,


    I am getting an Error while sending Mails. It is showing me Sub or Function not defined.
    Please Help


    Below is the code


    Re: Run Another Macro


    Dear Stephen,


    Thanks for the information, I have created another macro where my problem was resolved with the code given by you.
    However I have different Issue that I am not able to find what is wrong because I am getting a Error "Sub or Function not defined"
    I am getting Error on below code in Error in "rangetoHTML"

    HTML
    [/B][/COLOR].HTMLBody = "<HTML> <br> </br> </HTML>" & "<html><b>Hi,</b></html>" & "<HTML> <br> </br> </HTML>" _                & " <html><b> " _                & "Please find below summary on Cash Indent and Cash Received.</b></html>" _                & "<HTML> <br> </br> </HTML>" & "<html><b><u> If any discrepancies observed, " _                & "please highlight us for further investigations & rectifications. </b></u> </html>" & _                "<HTML> <br> </br> </HTML>" & rangetoHTML(rng) & "<HTML> <br> </br> </HTML>" & _                "<html><b>Thanks & Regards</b></html>" & "<HTML> <br> </br> </HTML>" & "<b> NCR Corporation (Cash Team) </b>"[COLOR=#3E3E3E][B]

    [/B][/COLOR]

    Re: Run Another Macro


    Hi,
    Thanks, But my problem is that the code was placed in Particular Sheet VB Editor Wizard not in any module. Hence unable to run that macro.
    Please help.

    Hi,


    I have One Macro in one Sheet.


    I want to run that Macro from another Macro, please help me in code for this.


    Thanks & regards,
    Qaiyum Shaikh

    Hi,


    I have a code which open Internet explore and logging into the system of my vendor.
    Problem is that when ever macro clicks on Submit button it will pop up a window asking for OK or Cancel.


    Can any one help me on how to accept OK button automatically?


    Thanks in advance.


    Regards,
    Qaiyum Shaikh

    Re: New Workbook with xlsx


    Hi,


    So sorry, please find below is the correct code.
    After all 31 sheets consolidated in "RMIS" Sheet the data will be around 1500000 Plus. And due the new opening workbook is having only 65536 rows paste function is failed.


    Once again sorry for wrong code paste:


    Re: New Workbook with xlsx


    Hi,


    When ever I Create New workbook by Pressing "Control N" the file open and it is having 65536 rows only, means Excel 97-2003 version (xls type). And I want to copy & Paste from 30 different sheet which around 150000/- rows +, it is not possible that code will paste data and will fail when it arrived to 65536 rows level.


    What I want when my code create new file it should be having 1048576 rows, i.e. Excel 2010 version.
    Please help... Hopes this clarifies my requirement....


    Hi,


    I have bulk data and while copy and pasting data into new workbook using below code, it is creating xls file format and paste function failed. Currently I am working on Excel 2010 version.
    Please help how would I assign macro to create new workbook in xlsx format. Thanks in advance.

    Code
    Workbooks.Add

    Re: Rename File Name for duplicate


    Thanks and I will make ensure rules to be followed and for your great help. The below code which you have provided is showing syntax error Please suggest any modifications required. However other code was useful and successfully run. Thanks....

    Code
    [U][B]ActiveWorkbook.SaveAs Filename:=Path & "\" & Name & ".xls", FileFormat:=xlExcel8[/B][/U]

    Re: Rename File Name for duplicate



    _____________________________________________________________________________________________


    *EDIT*
    When you post code in a message you are required to use Code Tags. These format and colourise the code making it easier to read and so follow the logic. This is one of the rules you agreed to when you joined the forum.


    The tags have been added for you, but this time only. Please ensure future posts comply with the rules.

    Hi,


    I want to save a excel file into particular folder, if the same name file found macro should automatically save this file also with making a same name and adding "Copy" or "duplicate" at the end.


    Eg. Xyz.xls (if same name file found, macro should save this file also with xyz (copy).xls)


    Is there any code then please help.


    Regards,
    Abdul Qaiyum Shaikh

    Re: Check Box


    Hi,


    Actually i want to untick all the checkbox available in userform with the help of command button. Please help.

    Hi,
    Please help me check box. I have a userform where there are several check box and a command buttons name "clear all". Here i want to unticked all the checkbox when clear all button is clicked by user.
    Qaiyum Shaikh