+ Reply to Thread
Results 1 to 5 of 5

Frustrating simple formula

  1. #1
    Registered User
    Join Date
    07-26-2012
    Location
    The Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    21

    Frustrating simple formula

    Hi all,

    I've been agonizing for sooo long over a simple thing.

    The formula =A1&"XYZ" becomes 22XYZ when I type it myself in a cell (and A1=22 ofcourse)

    How can do this formula into a cell with VBA?

    Many thanks in advance for your time!!!

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Frustrating simple formula

    Try:
    Please Login or Register  to view this content.
    Obviously, change "A2" as necessary.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Frustrating simple formula

    You should record yourself doing this and then tidy up your code.

    Recorded:

    Please Login or Register  to view this content.
    Tidied up:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    07-26-2012
    Location
    The Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Frustrating simple formula

    Thanks!!! Bless you

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Frustrating simple formula

    ShareTheGlobe,

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Frustrating Excel Formula! I do not know where to begin
    By alecp in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-16-2012, 05:29 AM
  2. Conditional Sum: Simple but very frustrating question
    By Filipp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2009, 01:35 PM
  3. Frustrating Formula!
    By duguerre in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2008, 10:41 AM
  4. Simple but frustrating problem with chart
    By geigerc0unter in forum Excel General
    Replies: 3
    Last Post: 06-02-2007, 04:27 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