+ Reply to Thread
Results 1 to 3 of 3

F9 keystroke

  1. #1
    Forum Contributor
    Join Date
    03-11-2005
    Posts
    115

    F9 keystroke

    Hi I am very new to visual basic and wondered if anyone knows how I can get Excel to do the recalculate F9 keystroke ? I dont want the user to be able to automatically recalculate but in some instances I want Excel to automatically calculate the cells and think programming the F9 keystroke might work.

    Thanks
    Amy
    xx

  2. #2
    Registered User
    Join Date
    10-25-2004
    Posts
    88
    I'm not sure what ou want to accomplish, but the Calculate method can be used to perform the calculation when you need it. Calculate can be applied at the Workbook, the Worksheet or a specified Cell Range level e.g.

    Application.Calculate
    Worksheets("Sheet2").Calculate
    ActiveShet.Range($A$1:$B$10).Calculate

  3. #3
    Forum Contributor
    Join Date
    03-11-2005
    Posts
    115
    Hey, thank you for replying, will give it a go and get back to you if it doesnt work!


    Amy
    xx

+ 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