+ Reply to Thread
Results 1 to 4 of 4

Updating cell references...

  1. #1
    Forum Contributor
    Join Date
    04-27-2006
    Location
    Cayman Islands
    Posts
    379

    Updating cell references...

    Hey guys,

    So I have this spreadsheet and a macro takes values from a total column to create invoices in word. But people keep on adding columns so when Cells (i, 120) used to refer to the total it now refers to something else. Is there a simple way of this updating automatically? THANKS! :-D

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    If you were to give a name to your range, say, totinvoice, you would no longer have to worry about its location, since it would update itself automatically ...
    HTH
    Carim


    Top Excel Links

  3. #3
    Forum Contributor
    Join Date
    04-27-2006
    Location
    Cayman Islands
    Posts
    379
    Sounds good, but I'm not sure quite how this is (a) done in excel, (b) referenced in VB? Any help?

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    1. In Excel .... Insert Name Define ...

    2. In VBA .....Range("MyName") ...

+ 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