+ Reply to Thread
Results 1 to 6 of 6

Referencing cells in VBA

  1. #1
    Registered User
    Join Date
    03-23-2024
    Location
    UK
    MS-Off Ver
    Microsoft 365 MSO Version 2402
    Posts
    3

    Referencing cells in VBA

    Hi all

    I'm having a brain fog moment -

    I have a workbook that contains many links to a customer portal

    I want to be able to update the portal ID across all links within the workbook based on the value added to a specific cell

    The master copy of the workbook has my portal ID (being the referenced ""143655455"") - my aim is to be able to just make a copy of the workbook for a new customer and replace my ID within all links with their ID easily

    At the moment I have this but I know its not correct - can someone help - its the "Range(F5)" section - I need to reference the value that is in Cell F5
    Please Login or Register  to view this content.
    Also, happy to hear if someone has a better work around for this process


    Thanks
    Vicki
    Last edited by 6StringJazzer; 03-23-2024 at 08:06 PM. Reason: please use code tags

  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: Referencing cells in VBA

    pls try this code

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-23-2024
    Location
    UK
    MS-Off Ver
    Microsoft 365 MSO Version 2402
    Posts
    3

    Re: Referencing cells in VBA

    Thanks

    This doesn't seem to replace the ID with the value in F5 - it just removes my ID from all the links

    ** Apologies if you are getting multiple replies - they are not showing my end so not sure if they are posting - I'm new here - please don't hate me!!

  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: Referencing cells in VBA

    Quote Originally Posted by Vicki-MS View Post
    Thanks

    This doesn't seem to replace the ID with the value in F5 - it just removes my ID from all the links

    ** Apologies if you are getting multiple replies - they are not showing my end so not sure if they are posting - I'm new here - please don't hate me!!
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-23-2024
    Location
    UK
    MS-Off Ver
    Microsoft 365 MSO Version 2402
    Posts
    3

    Re: Referencing cells in VBA

    Perfect!!

    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: Referencing cells in VBA

    @Vicki-MS You're Welcome. Glad to help . Thank You for the feedback.


    If you finally get a solution please mark your thread as SOLVED:
    - Click Thread Tools above your first post,you will see the word PREFIX on the upper left, press the button to select [SOLVED] select "Mark your thread as Solved".
    - you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help
    was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] VBA Cells, how to put dynamic formula referencing to specific cells (Row,Column)
    By analystbank in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-08-2023, 09:46 AM
  2. Google Sheets - How to create graph from cells referencing other cells sorted/filtered dif
    By ergalthema in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 03-05-2018, 02:35 PM
  3. Replies: 0
    Last Post: 03-05-2018, 02:35 PM
  4. Replies: 6
    Last Post: 04-18-2016, 05:31 PM
  5. Cells referencing one another
    By mbrandt5 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-12-2015, 05:17 AM
  6. Table Cells Referencing Specific Cells
    By shhhhh22 in forum Excel General
    Replies: 3
    Last Post: 12-06-2011, 03:51 PM
  7. [SOLVED] Referencing Cells
    By Bill W in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03: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