Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Copy content of ActiveCell in a variable

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default Copy content of ActiveCell in a variable

Dim Invoiceref
Invoiceref = ActiveCell.Value

Regards

Trevor


"Ulrik loves horses" wrote in
message ...
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




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Copy content of ActiveCell in a variable

Thanks Trevor

"Trevor Shuttleworth" wrote:

Dim Invoiceref
Invoiceref = ActiveCell.Value

Regards

Trevor


"Ulrik loves horses" wrote in
message ...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
If activecell.column = variable then activecell,offset (0,1) Battykoda via OfficeKB.com Excel Discussion (Misc queries) 1 October 2nd 07 08:05 PM
Copy File from activecell FIRSTROUNDKO via OfficeKB.com Excel Discussion (Misc queries) 1 December 13th 06 09:21 PM
Copy format of row above my activecell al007 Excel Programming 4 December 9th 05 09:58 PM
ActiveCell.Copy Range("R3C27") Stuart Grant New Users to Excel 2 September 30th 05 09:00 AM
using variable inside activeCell reference call dabith[_7_] Excel Programming 2 June 19th 04 08:02 PM


All times are GMT +1. The time now is 08:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"