473,508 Members | 2,040 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bring back to exel a value computed in VB macro

Hi
I try to bring back to exel a string computed by VB macro
function.
---------------------------------------------------------
Function CameoFilter(FileName As String, ByRef TextLine As
Variant)
....
TextLine = ...
End Function
---------------------------------------------------------
Exel command :
CameoFilter("myfile.txt", C22)
---------------------------------------------------------
any help would be grately appreciated.

cheers
Sylvain GENTIN
Nov 20 '05 #1
2 1425
Hello,

"Sylvain GENTIN" <sg*****@ford.com> schrieb:
I try to bring back to exel a string computed by VB macro
function.
---------------------------------------------------------
Function CameoFilter(FileName As String, ByRef TextLine As
Variant)
...
TextLine = ...
End Function
---------------------------------------------------------
Exel command :
CameoFilter("myfile.txt", C22)
---------------------------------------------------------
any help would be grately appreciated.


This is a VB.NET language group. You will more likely get an answer if you
post to the microsoft.public.excel.programming group or to one of the VB
Classic groups (microsoft.public.vb.*).

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
Hi Sylivian,

|| I try to bring back to Excel a string computed by
|| VB macro function.

What does this mean, exactly ?

Regards,
Fergus
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5373
by: Tyson | last post by:
I have got this little piece of code that fires on exit of a text box. It run's my query perfectly based of my form input. But I don't know how to bring result in my query back to a text box on my...
1
2846
by: Tom | last post by:
> > Ciao a tutto il NG. > > Access 97 > > Devo poter inserire un record vuoto in una maschera a schede continua > cioč. > > record 1 > > record 2 > > record 3 > > record 4 > > record 5 > >...
1
11805
by: meganrobertson22 | last post by:
Hi Everyone- I am trying to use a simple macro to set the value of a combo box on a form, and I can't get it to work. I have a macro with 2 actions: OpenForm and SetValue. I can open my form,...
0
1108
by: Hendri | last post by:
My company have any report with ms exel , My question is how to make a web application with asp.net that can join with all office fitur. and i want to save the spread sheet by day, so if my boss...
9
2059
by: Coleen | last post by:
Hi All :-) I found the way to get my column sum (Thanks Cor I did it a little different, but the result is what I wanted) I used: dt_stat_report_3b.Columns.Add(New DataColumn("Sum",...
1
1843
by: IBGhost | last post by:
How can I change the code to give the output in exel sheet or text file. The code look like this: Const HKLM = &H80000002 'HKEY_LOCAL_MACHINE strComputer = "." strKey =...
1
1374
by: hatric | last post by:
HI i am novice to EXel and now using it, but i hav some probles in using it as database plz help viz. i am gettiing data from my colugues in exel form weekly basis and merg them in one exel sheet...
3
1303
by: chris01 | last post by:
I am tired of building tables from scratch in html and want to know if there is a way to build an exel document and somehow imbed the table into the html, either through php or java. I dont want...
8
3054
by: Missionary2008 | last post by:
Thanks for your help and advice in advance! I have a datasheet form (List) that I'd like to be able to be able to click on the ID number and have it bring up another form (Details) for data entry....
0
7125
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...
0
7328
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,...
0
7388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7049
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...
0
7499
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...
0
5631
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,...
0
4709
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...
0
3199
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...
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.