473,750 Members | 2,190 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Conditional wrap line - VBA Excel

1 New Member
Hi you all,

I have a PDF file when I copy and paste from PDF to Excel the wrap line occurs multiple times for each numerical.

Would be something like "if active cell [start with number and end with ;]"

The paste must be like green field as attached.

Feb 2 '16 #1
1 1172
zmbd
5,501 Recognized Expert Moderator Expert
+ We are not a code writing service.

+ Please do not double post your threads. This may result in both being unintentionally deleted if two different moderators are reviewing threads! :(

+ Most of our experts (including myself) are not able to view images attached via third-party sites due to restrictions imposed by our IT staff. Please use the advanced post option to attach the image.

+ The only solution I see to this is to write a VBA script that will parse your data after the fact. If you want to attempt this code yourself and then post your efforts we'll be happy to help you modify the code to achieve the desired results.
Feb 3 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2875
by: Marek Mänd | last post by:
<q cite="http://www.president.ee/est/ametitegevus/?gid=10628"> Kelleltki ei tohi veendumuste pärast võtta Eesti kodakondsust. </q><span class="quotereference">(Eesti Vabariigi põhiseadus, II peatükk, PÕHIÕIGUSED, VABADUSED JA KOHUSTUSED, § 8)</span> <hr/> What shall the CSS be for: "when the span.quotereference wouldnt fit as a whole on the textline that the quote (q) element is on, start the span.quotereference on the
2
17796
by: Damian Arntzen | last post by:
I'm trying to suss out exactly how to assign borders to cells via C# into an Excel 2003 spreadsheet. I've been tinkering some more last night (Aussie time) and managed to figure out a lot more in regards to doing this kind of thing (Self-teaching can really suck sometimes) - Much thanks to the kind soul who helped me out yesterday - and the sheet I'm creating is essentially done. There is just a few points which aren't quite right because...
3
8409
by: Russell Smith | last post by:
I am creating an Excel add-in. Please note project type is Shared Add-in vice Excel Workbook. In the OnStartupComplete event handler I am adding a new menu item. I start by getting a reference to the Tools menu. This works fine. Type applicationType = applicationObject.GetType(); CommandBars bars = (CommandBars)applicationType.InvokeMember( "CommandBars", BindingFlags.GetProperty, null, applicationObject, null); CommandBar bar =...
4
1283
by: Bernie Yaeger | last post by:
I'm using the following function (I'm displaying the guts of it only) to convert a datatable to an excel spreadsheet: For Each mrow In dt.Rows rowindex += 1 colindex = 0 For Each col In dt.Columns
4
1599
by: ad | last post by:
I am using VS2005 to develp Win form program. I add lines to a ListBox. But when the line width larger than the width of the ListBox, the ListBox can't wrap the word. What conrols is suittable for me to add lines and can wrap words?
1
8189
by: doug9149 | last post by:
Hello all, I've got some code I wrote using VBA for Excel that I'm trying to recreate using C#.NET. The code autofilters 1 entire column from 1 Worksheet from a Workbook and then appends this filtered code to a new column in a new Worksheet in a new Workbook. First, the VBA code: Set rData = wsData.Range("BQ5", wsData.Range("BQ65536").End(xlUp)) Set rTargetCl = wsTarget.Range("B65536").End(xlUp).Offset(1,0) With rData .AutoFilter...
2
2173
by: sheenutech | last post by:
Hello, I am using Excel 2002 in my code. Where I open, load all the necessary data and then close Excel from VC++ code. I am using following piece of code to finally quiting Excel. Excel::_ApplicationPtr m_ptrExcel; if (m_ptrExcel) { m_ptrExcel->Quit(); } m_ptrWrkbkFA = 0;
1
3605
by: CORVID6116 | last post by:
Hi Guys, I can read and write .XLS files using Python. But now i need to write an XLS file with conditional formatting on some of the cells. Any help would be appreciated. Thanls
10
9686
by: afromanam | last post by:
Regards, Please help What I'm trying to do is this: (and I can't use reports since I must export to Excel) I export some queries to different tabs in an excel workbook I then loop through each tab and apply autowidth to columns and apply autofilter to the first row of every tab in the workbook. I've this down
1
4286
by: bbatson | last post by:
Hello, I know there is a way to set up conditional formatting within Excel to hide errors (see link below). http://support.microsoft.com/kb/182189 I am curious to know if this is possible to do within Access for a text box that is performing a calculation. Thanks in advance for any help you can provide.
0
8836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9338
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6803
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4712
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3322
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.