hi,
i have a problem where i am copying and pasting cell values from excel manually to say the vba code enviroment and after i paste its adding quotes to the start and end of my text.
what can be done to prevent this?
hi,
i have a problem where i am copying and pasting cell values from excel manually to say the vba code enviroment and after i paste its adding quotes to the start and end of my text.
what can be done to prevent this?
ok, what i found is if i copy a range of cells from excel and paste into word then it does NOT add the extra quotes....i guess this is good enough for now.
but if you know of a better soln please let me know. note: cells i am copying have multiple lines in each cell that i am copying.
Hi welchs,
It sounds like you are trying to paste numbers using VBA but they are treated as text. How do you have those variables DIMed?
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
It's because you are copying multi-line cells.
One way is once you have pasted into the VBE, select the text you've pasted, then CTRL H, & replace the " with nothing. just make sure you click Selected Text
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks