Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default Simple Excel Macro

OK, OK...so (technically) I'm not a "new" user of Excel. I've created simple
macros in older versions of Excel, before macro and Visual Basic meant the
same thing.

I want to create a simple macro, but VB is foreign to me. All I want the
macro to do is press F2 (to edit the text in a cell), hit Home (to go to the
beginning of the cell contents) and insert a couple letters.

However, when I record it, the VB script replaces the text in my cell with
the text that was in the cell I used to record it.

Anyone know how to get Excel to do the simple macros it used to do?

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,624
Default Simple Excel Macro

XL's recorder only records results of your actions, as you've found.

One way:

Public Sub InsertLetters()
ActiveCell.Value = "AB" & ActiveCell.Text
End Sub

In article ,
TimWillDoIt wrote:

OK, OK...so (technically) I'm not a "new" user of Excel. I've created simple
macros in older versions of Excel, before macro and Visual Basic meant the
same thing.

I want to create a simple macro, but VB is foreign to me. All I want the
macro to do is press F2 (to edit the text in a cell), hit Home (to go to the
beginning of the cell contents) and insert a couple letters.

However, when I record it, the VB script replaces the text in my cell with
the text that was in the cell I used to record it.

Anyone know how to get Excel to do the simple macros it used to do?

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default Simple Excel Macro

Yes...this is exactly what I need. I apologize for not being familiar with
VB scripts. I'm only just starting to scratch the surface of Actionscript in
Flash.

"JE McGimpsey" wrote:

XL's recorder only records results of your actions, as you've found.

One way:

Public Sub InsertLetters()
ActiveCell.Value = "AB" & ActiveCell.Text
End Sub

In article ,
TimWillDoIt wrote:

OK, OK...so (technically) I'm not a "new" user of Excel. I've created simple
macros in older versions of Excel, before macro and Visual Basic meant the
same thing.

I want to create a simple macro, but VB is foreign to me. All I want the
macro to do is press F2 (to edit the text in a cell), hit Home (to go to the
beginning of the cell contents) and insert a couple letters.

However, when I record it, the VB script replaces the text in my cell with
the text that was in the cell I used to record it.

Anyone know how to get Excel to do the simple macros it used to do?


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
Simple Macro MAStew New Users to Excel 3 July 27th 06 10:50 PM
Simple macro help chip_pyp Excel Discussion (Misc queries) 3 January 10th 06 07:57 PM
Simple macro please sasha New Users to Excel 1 July 19th 05 12:51 PM
New Excel user needs help with simple Macro... Rahim Kassam New Users to Excel 1 January 24th 05 02:10 PM
Can't get simple macro to run Abi Excel Worksheet Functions 5 January 12th 05 07:37 PM


All times are GMT +1. The time now is 04:38 PM.

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

About Us

"It's about Microsoft Excel"