+ Reply to Thread
Results 1 to 3 of 3

Code in cell but need to do Alt-Enter and put more code

  1. #1
    Registered User
    Join Date
    08-30-2007
    Posts
    28

    Code in cell but need to do Alt-Enter and put more code

    I am trying to accomplish the example below with multiple codes in one cell but an enter in between them. Probably just need the code to do the enter formatting and mix the code together but below is a rough example. Anything do that?

    =sum(A1:A5) Alt+Enter
    =sum(B1:B5) Alt+Enter
    repeats couple times...

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065
    What are you trying to do?

    Sounds like your trying to put 2 formulas in one cell seperated by an Alt-Enter? Please explain clearly what you're trying to achieve by doing this?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    08-30-2007
    Posts
    28
    Basically the code will pull several lines from the data page and create an address in one cell (formatted correctly) to be copied by a macro that opens a label sheet for the user to paste from clipboard into the area they want to print to on an avery 5160 template.

    User chooses what row to pull the data in from. I think I have that portion down depending on what route I go here.

    Working on doing it all in VBA but my skills in VBA may not be decent enough. Trying to figure out how to set a cell as a value...

+ 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