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

I am trying to do two things.

1. create a link in a spreadsheet whereby if the cell contains a Y or
someone enters Y (Yes). It will automatically run a program to open a
specific document or spreadsheet.

I would be grateful for some step by step instructions.

2. How do I create buttons and then add a link/macro to it, so that it
performs an action such as opening up a document?

Would appreciate any help, thanks all.


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Excel Programming

1. Use a worksheet_change event
right click sheet tabview codeleft window select worsheetright window
select worksheet_changetype in

if target.address<"$A$4" then exit sub
if ucase(target)="Y" or ucase(target)="YES" then call mymacro
=====


--
Don Guillett
SalesAid Software

"aly1cat " wrote in message
...
I am trying to do two things.

1. create a link in a spreadsheet whereby if the cell contains a Y or
someone enters Y (Yes). It will automatically run a program to open a
specific document or spreadsheet.

I would be grateful for some step by step instructions.

2. How do I create buttons and then add a link/macro to it, so that it
performs an action such as opening up a document?

Would appreciate any help, thanks all.


---
Message posted from
http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel Programming

Thanks for your quick response - however, if I need to enter the name of
the document that I need it to open. Where would I enter the detail.

I am not a VBA programmer, so bear with me!!!

Thanks


---
Message posted from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Excel Programming

You can learn by using the macro recorder and then modifying to suit.
If you already have some code, copy/paste here for comments.

--
Don Guillett
SalesAid Software

"aly1cat " wrote in message
...
Thanks for your quick response - however, if I need to enter the name of
the document that I need it to open. Where would I enter the detail.

I am not a VBA programmer, so bear with me!!!

Thanks


---
Message posted from
http://www.ExcelForum.com/



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
Or Excel Programming Help Me please some body... Excel Worksheet Functions 1 August 2nd 07 11:32 PM
Excel/VBA programming Carlos A Excel Discussion (Misc queries) 2 July 24th 05 10:21 PM
Excel Programming Dan Gorman Excel Programming 2 December 8th 03 07:13 PM
Excel Programming Aravind[_2_] Excel Programming 0 September 10th 03 08:05 AM


All times are GMT +1. The time now is 08:40 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"