Results 1 to 4 of 4

Thread: Find & Replace during cell copy from page 1 to page 2

  1. #1
    Junior Member
    Join Date
    Mar 2020
    Posts
    2
    Rep Power
    0

    Question Find & Replace during cell copy from page 1 to page 2

    Is there a way to modify the contents of a cell, during an import process from one page to another ?

    I need to import products from a database into a 2nd page for editing, but have the spaces removed from between the words and replaced with a "-".
    Currently on Page2, I have "=(Page1!B1)" to import the data, but I cannot use the Find/Replace command on the same cell.
    With this I have to 'save' the page, then open it in a new window and 'find/replace all'

    Is is possible to have this work in a single command .. ie: Copy Cell1 Data : Replace " " with "-" : Paste Cell2 Data ..

    Cell1,Page1: Name Of Product Goes Here
    Cell2,Page2: Name-Of-Product-Goes-Here

    Does this make sense ???

  2. #2
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,446
    Rep Power
    10
    Hello Sobodad.
    Welcome to ExcelFox
    Is something like this what you mean?

    _____ Workbook: Sobodad.xlsx ( Using Excel 2007 32 bit )
    Row\Col
    A
    B
    C
    1
    Hello Sobodad. Welcome to ExcelFox
    2
    Worksheet: Sheet1

    _____ Workbook: Sobodad.xlsx ( Using Excel 2007 32 bit )
    Row\Col
    A
    B
    C
    1
    =SUBSTITUTE(Sheet1!B1," ","-")
    2
    Worksheet: Sheet2

    _____ Workbook: Sobodad.xlsx ( Using Excel 2007 32 bit )
    Row\Col
    A
    B
    C
    1
    Hello-Sobodad.-Welcome-to-ExcelFox
    2
    Worksheet: Sheet2

    Alan




    http://www.excelfox.com/forum/showth...racter-strings
    Attached Files Attached Files
    Last edited by DocAElstein; 03-19-2020 at 08:39 PM.
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  3. #3
    Junior Member
    Join Date
    Mar 2020
    Posts
    2
    Rep Power
    0
    OMG ... This is perfect

    How did I not find this method during my hours of google searching ?
    I didn't even know "SUBSTITUTE" was a function I could use .. lol
    Thank you Alan, it is so simple now that I have been shown the way

  4. #4
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,446
    Rep Power
    10
    Hi
    Quote Originally Posted by Sobodad View Post
    How did I not find this method during my hours of google searching ?
    I didn't even know "SUBSTITUTE" ...
    Excel is so vast, almost anything can be done, but also because it so vast, I think that Microsoft long since gave up trying to document it efficiently and clearly.
    At the same time the internet is getting flooded with ever more information.
    I often can’t find things anymore by a google search that I found already a few years ago…. .

    Unfortunately there is no control of the quality of Blogs and info on the internet. But at the same time it is getting easier to post information on the internet. Often the same answer is given , but quickly, and with little explanation. Forums are also guilty of this sometimes. Good quality answers are strangely discouraged..
    The quantity goes up and the quality goes down.

    ExcelFox distinguishes itself on its quality and reduced quantity. We have fewer posts, but they are more often viewed, especially in the Tips and tutorial sections: ( http://www.excelfox.com/forum/forumd...(No-Questions) )

    But there is room for everyone in a big world
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

Similar Threads

  1. complete page numbers
    By moblid in forum Excel Help
    Replies: 8
    Last Post: 02-28-2018, 04:13 PM
  2. Language front page
    By sknight in forum Powerpoint Help
    Replies: 0
    Last Post: 02-27-2018, 02:08 PM
  3. Slide does not generate a notes page
    By tfurnivall in forum Powerpoint Help
    Replies: 1
    Last Post: 02-26-2014, 05:24 PM
  4. vba, .printout set to 1 page only
    By xander1981 in forum Excel Help
    Replies: 2
    Last Post: 02-19-2014, 09:42 PM
  5. Capture values from IE page
    By maruthi in forum Excel Help
    Replies: 6
    Last Post: 11-22-2011, 08:25 AM

Posting Permissions

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