+ Reply to Thread
Results 1 to 6 of 6

Cell Reference Selected Workbook

  1. #1
    Registered User
    Join Date
    01-24-2017
    Location
    home
    MS-Off Ver
    MS Office 2016
    Posts
    46

    Cell Reference Selected Workbook

    Right now I am using the below code to select a different workbook and put data in different cells. Is it possible to have the pasted cells become references instead of just copy/paste. I would like this workbook to continue to update when the other workbook has been updated.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,423

    Re: Cell Reference Selected Workbook

    pls try to change your code


    Please Login or Register  to view this content.
    as below

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-24-2017
    Location
    home
    MS-Off Ver
    MS Office 2016
    Posts
    46

    Re: Cell Reference Selected Workbook

    Quote Originally Posted by wk9128 View Post
    pls try to change your code


    Please Login or Register  to view this content.
    as below

    Please Login or Register  to view this content.
    So this worked, but makes the sheet name "Original". Can it select either sheet(1) or ActiveSheet? There is only one sheet in the workbook.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,423

    Re: Cell Reference Selected Workbook

    pls try this code

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-24-2017
    Location
    home
    MS-Off Ver
    MS Office 2016
    Posts
    46

    Re: Cell Reference Selected Workbook

    Quote Originally Posted by wk9128 View Post
    pls try this code

    Please Login or Register  to view this content.
    I figured it out. There was a hidden sheet that I didn't know was there and I was getting an error. The original code worked! Thank you!!

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,423

    Re: Cell Reference Selected Workbook

    @kasermap You're Welcome. Glad to help . Thank You for the feedback and rep.

+ 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. Can a hyperlink in a workbook reference a Range name as opposed to a cell reference?
    By aresquare1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-26-2021, 04:10 AM
  2. Replies: 3
    Last Post: 10-01-2021, 09:14 AM
  3. Reference Selected Cell
    By Polymorpher in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2014, 06:21 PM
  4. [SOLVED] How can I find CFs that reference selected cell?
    By foxguy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2013, 07:47 PM
  5. Change a macro to from and absolute cell reference to selected cell.
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2010, 01:19 PM
  6. Replies: 2
    Last Post: 05-01-2009, 07:06 PM
  7. [SOLVED] reference specific cell in selected row
    By mpeplow in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2007, 12:31 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