+ Reply to Thread
Results 1 to 8 of 8

Thread: Trying to reduce the amount of times I have to press CANCEL

  1. #1
    Registered User
    Join Date
    02-14-2011
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Trying to reduce the amount of times I have to press CANCEL

    I have an application spreadsheet that goes and looks at another spreadsheet where users load their info in.

    I have attached a word document the shows the problems I have.

    Hope you can help
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    10-28-2008
    Location
    Not here anymore
    MS-Off Ver
    irrelevant
    Posts
    10,151

    Re: Trying to reduce the amount of times I have to press CANCEL

    Hello,

    I'm not quite sure the Word file with screenshots of the Excel file is helpful in solving this issue.

    How about posting the Excel file instead, with the macro code that you are running?

    Make sure to replace confidential data with dummy data.

    And finally: you seem to be using merged cells. If so, don't. They cause all kinds of trouble when macros and other native Excel functionality is involved.

    cheers,

  3. #3
    Registered User
    Join Date
    02-14-2011
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Trying to reduce the amount of times I have to press CANCEL

    I have attached the excel file

  4. #4
    Registered User
    Join Date
    02-14-2011
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Trying to reduce the amount of times I have to press CANCEL

    I did not attache the file. here it is
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    10-28-2008
    Location
    Not here anymore
    MS-Off Ver
    irrelevant
    Posts
    10,151

    Re: Trying to reduce the amount of times I have to press CANCEL

    There are no macros in that attachment.

  6. #6
    Registered User
    Join Date
    02-14-2011
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Trying to reduce the amount of times I have to press CANCEL

    Hi again

    That is the thing. I need to develop a macro to do what I indicated in the original word document. If I develop the macro, it does not seem to pick up my keystrokes when I select CANCEL. If I can find out how to include me selecting CANCEL as part of the macro, it would help a great deal. Keep in mind that the application form requires me to press CANCEL 740 times, so I need a way around it.

  7. #7
    Forum Guru
    Join Date
    10-28-2008
    Location
    Not here anymore
    MS-Off Ver
    irrelevant
    Posts
    10,151

    Re: Trying to reduce the amount of times I have to press CANCEL

    Can you take a few steps back and describe what you would want your macro to do instead of complaining about what you imagine a non-existent macro might do?

    As far as I'm concerned, your fears are unfounded, since you have not provided a macro that requires to hit Cancel xxx times.

    So, let's start over.

    What do you want to achieve? Describe the desired outcome. Don't worry about what macro steps may be required.

    Then again: your use of merged cells in the sheet may be preventing any macro solution from working. Do not use merged cells is one of the first unspoken rules you will find the advisors here agree on.

  8. #8
    Forum Guru snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,151

    Re: Trying to reduce the amount of times I have to press CANCEL

    Maybe you shouldn't use 'copy/paste' (including the copying of formulas, that contain references to external workbooks), but 'copy/pastespecial xlvalues' instead.
    Or you could transfer the values directly using:

    Workbooks(2).range("A3012:G3022")=Workbooks(1).range("A3012:G3022").value



+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0