+ Reply to Thread
Results 1 to 4 of 4

Field Codes for Excel?

  1. #1
    Registered User
    Join Date
    01-25-2007
    Posts
    2

    Question Field Codes for Excel?

    Is there a way to insert fields into Excel, similar to what is used in Word? Specifically, I have a step-by-step procedure written in Excel format, and I would like to have the steps automatically increment. They appear in different places throughout the document, so a basic "A1+1" formula won't work.

    Any help would be appreciated. Thanks.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Say data in Column B. Enter this in A1 and drag down

    =IF(B1="","",COUNTA($B$1:B1))

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    01-25-2007
    Posts
    2

    Thanks.

    Thanks for the quick reply! I got this method to work for my application.

    It's still not as robust as the Word Fields - I'm used to using the Cross-Reference function so that everything auto-updates. Maybe they'll address this in a future release. Until then, thanks again.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Glad you got a solution

    VBA Noob

+ 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