Results 1 to 3 of 3

Active Cell in VBA

Threaded View

Ched_B Active Cell in VBA 03-14-2017, 06:52 AM
cytop Re: Active Cell in VBA 03-14-2017, 07:09 AM
Ched_B Re: Active Cell in VBA 03-15-2017, 08:57 AM
  1. #1
    Registered User
    Join Date
    03-14-2017
    Location
    Londn, England
    MS-Off Ver
    Office 2013
    Posts
    11

    Unhappy Active Cell in VBA

    Hi all,

    I just started to use VBA and I am a bit lost. I need to get the coordinates of the active cell to be entered somewhere in my spread sheet.

    I wrote that:

    Sub SetCell()
    Dim score As Name
    Name = ActiveCell.Address
    End Sub
    and it changes the name of the spread sheet for the active cell one (e.g.: $A$1), so it's kinda working...

    I've been trying and looking everywhere to find how get the active cell's name to be put in the file and not as the spread sheet's name but I am very struggling...

    Any help will be very appreciated
    Thank you!!
    Last edited by Leith Ross; 03-14-2017 at 04:48 PM. Reason: Added Code Tags

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Non active cell non active sheet copy row from cell refference.
    By _delete() in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2016, 02:36 AM
  2. Pasting a formula between two active cells - one active cell varies
    By Andrewstupendo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-21-2015, 01:23 PM
  3. Replies: 4
    Last Post: 07-03-2015, 04:27 AM
  4. Problems with autofilling formula down the active column to the end row using active cell
    By sl_riches2179 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2013, 09:30 AM
  5. Replies: 2
    Last Post: 12-23-2012, 09:26 AM
  6. Replies: 1
    Last Post: 07-08-2012, 08:47 AM
  7. [SOLVED] VBA - Can I select a new active cell based on the value of the current active cell?
    By GrumpyOldBastard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2012, 07:05 PM

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.6.0 RC 1