473,699 Members | 3,180 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 1169
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
2874
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
17794
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
8406
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
1280
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
1596
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
8185
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
2169
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
3604
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
9674
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
4284
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
8706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8633
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,...
0
9199
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8947
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
8902
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7787
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...
0
4392
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
4642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3076
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

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.