PC Review


Reply
Thread Tools Rate Thread

Copy content of ActiveCell in a variable

 
 
=?Utf-8?B?VWxyaWsgbG92ZXMgaG9yc2Vz?=
Guest
Posts: n/a
 
      8th Oct 2006
Hi,

I would like to copy the content of an active cell in to a (text) variable
called Invoiceref.

Afterwards I want to combine this variable with another text variable to
come to a unique invoice reference

What would be the macro language to realize the copy into the first variable

Many thanks upfront


 
Reply With Quote
 
 
 
 
Trevor Shuttleworth
Guest
Posts: n/a
 
      8th Oct 2006
Dim Invoiceref
Invoiceref = ActiveCell.Value

Regards

Trevor


"Ulrik loves horses" <(E-Mail Removed)> wrote in
message news:6508B3BC-92AB-4D31-B685-(E-Mail Removed)...
> Hi,
>
> I would like to copy the content of an active cell in to a (text) variable
> called Invoiceref.
>
> Afterwards I want to combine this variable with another text variable to
> come to a unique invoice reference
>
> What would be the macro language to realize the copy into the first
> variable
>
> Many thanks upfront
>
>



 
Reply With Quote
 
=?Utf-8?B?VWxyaWsgbG92ZXMgaG9yc2Vz?=
Guest
Posts: n/a
 
      8th Oct 2006
Thanks Trevor

"Trevor Shuttleworth" wrote:

> Dim Invoiceref
> Invoiceref = ActiveCell.Value
>
> Regards
>
> Trevor
>
>
> "Ulrik loves horses" <(E-Mail Removed)> wrote in
> message news:6508B3BC-92AB-4D31-B685-(E-Mail Removed)...
> > Hi,
> >
> > I would like to copy the content of an active cell in to a (text) variable
> > called Invoiceref.
> >
> > Afterwards I want to combine this variable with another text variable to
> > come to a unique invoice reference
> >
> > What would be the macro language to realize the copy into the first
> > variable
> >
> > Many thanks upfront
> >
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using variable in setting and ActiveCell dawall33 Microsoft Excel Programming 4 7th Apr 2009 05:12 PM
If activecell.column = variable then activecell,offset (0,1) Battykoda via OfficeKB.com Microsoft Excel Misc 1 2nd Oct 2007 08:05 PM
Substitute variable in a VBA ActiveCell.FormulaR1C1 =?Utf-8?B?Um9Cbw==?= Microsoft Access VBA Modules 1 30th Jul 2007 12:42 PM
Copy format of row above my activecell al007 Microsoft Excel Programming 4 9th Dec 2005 09:58 PM
using variable inside activeCell reference call dabith Microsoft Excel Programming 2 19th Jun 2004 08:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:01 AM.