Consulting

Results 1 to 6 of 6

Thread: "remove formula from cell"

  1. #1
    VBAX Tutor
    Joined
    Jan 2008
    Posts
    266
    Location

    "remove formula from cell"

    when my macro copys in a value to my cells and the value starts with = (equalsign), excel will give the errormessage =name? in green text.
    how can i disable this?
    i dont use any formulas anywhere in the sheet so i dont mind blocking them all, but the problem is only occuring in column E.

    same thing happens when the value is numbers only, it will ask me if i want to convert it in to numbers (currently set to text).

    what i would like to do is to tell excel and microsoft i know what im doing but with more cussing involved

    any ideas?


    EDIT: to give you guys some background info, the macro is a delimiter-script that seperates the values from column A to nine other coulmns

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Precede the = with a ' (single apostrophe).
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Tutor
    Joined
    Jan 2008
    Posts
    266
    Location
    i cant let the ' stay there, but maybe it works if i first put in the ' and then removes it.
    i will try that tomorrow, very tired now

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    It won't. But why not?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Tutor
    Joined
    Jan 2008
    Posts
    266
    Location
    noticed it didnt help.
    i cant have the ' there because i later use a macro that depends on the value of that cell.
    i guess i have to find a way around this problem somehow.

    thanks for the help!

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    How about insertuing the formula, but just flipping the Formula view, Tools>Options>View, Formulas checkbox. You can then flip it back when you need formulae.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •