+ Reply to Thread
Results 1 to 3 of 3

Select top left corner in vba

  1. #1
    Registered User
    Join Date
    07-14-2013
    Location
    Linkoping
    MS-Off Ver
    Excel 2010
    Posts
    2

    Talking Select top left corner in vba

    Hey

    I have recently discover the power of Excel and like what you can do with it.

    I have a code that only work if you are standing in the top left corner (A1) when you are running the code/ pressing the button. Please help me to change the code so i can have any cell selected when the code is executed, The code is:
    Please Login or Register  to view this content.
    What the code does is to input date depending on what the inputbox gives. If the monday is the 2013-08-12 it will be written in B3 and 2013-08-13 to 2013-08-16 is written in the cells C3 to F3.

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    09-02-2009
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    77

    Re: Select top left corner in vba

    Hi Simon, you just need to replace the first instance of "A1:E1" in your code with "B3:F3"

  3. #3
    Registered User
    Join Date
    07-14-2013
    Location
    Linkoping
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Select top left corner in vba

    Thanks for the solution to my problem

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Hyperlink To Top Left Corner
    By Lewis Clark in forum Excel General
    Replies: 16
    Last Post: 07-13-2015, 03:01 PM
  2. Always open to top left corner
    By Allardin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-26-2008, 05:12 AM
  3. [SOLVED] Claculation in left corner
    By James McDowell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2005, 12:35 PM
  4. Calculation in left corner
    By James McDowell in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-29-2005, 07:25 PM
  5. AUTOFILTER-Totals on the left down corner marge do not appear
    By Peter Wouters via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM

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