PC Review


Reply
Thread Tools Rate Thread

creating pages with 1 click..

 
 
pls123
Guest
Posts: n/a
 
      9th Aug 2008
hi all!!
i try to explain my problem easily.. im italian so i will use a maccaronic
english !!
i have page 1 and page 2 saved in the folder..

page1 is simply an empty grid .. with numbers from -20 to +20 for rows and
standard numbered columns,
page2 is a sample page..with code and formulas...

i need this .. when i select a cell in page 1, for example cell "L200" ,
and i press "CTRL+K" i need to run a macro that creates a new page that saves
page2,
with written this in cell A18:

='C:\WB\[@@PILOT.F.MI.xlsm]Sheet1'!$D$200

and thus it is a "L" ,have to write -7 in cell A19 of page2 (if it was U it
would have been a 0 , V 1, W 2 , X 3....AO 20)

and also personalized name of the file...like this..
F.MI.-7.200.xlsm

let me know if u have any suggestion..ty !!
 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      9th Aug 2008
RowNumber = ActiveCell.Row
Set Col_D = Range("D" & RowNumber)

MyFormula = "='C:\WB\[@@PILOT.F.MI.xlsm]Sheet1'!" & Col_D.Address
Range("A18") = MyFormula

Column_Diff = Col_D.Column - ActiveCell.Column + 1

FName = "C:\WB\[@@PILOT.F.MI." & _
Column_Diff & "." & _
RowNumber & ".xlsm"
ThisWorkbook.SaveAs FName


"pls123" wrote:

> hi all!!
> i try to explain my problem easily.. im italian so i will use a maccaronic
> english !!
> i have page 1 and page 2 saved in the folder..
>
> page1 is simply an empty grid .. with numbers from -20 to +20 for rows and
> standard numbered columns,
> page2 is a sample page..with code and formulas...
>
> i need this .. when i select a cell in page 1, for example cell "L200" ,
> and i press "CTRL+K" i need to run a macro that creates a new page that saves
> page2,
> with written this in cell A18:
>
> ='C:\WB\[@@PILOT.F.MI.xlsm]Sheet1'!$D$200
>
> and thus it is a "L" ,have to write -7 in cell A19 of page2 (if it was U it
> would have been a 0 , V 1, W 2 , X 3....AO 20)
>
> and also personalized name of the file...like this..
> F.MI.-7.200.xlsm
>
> let me know if u have any suggestion..ty !!

 
Reply With Quote
 
pls123
Guest
Posts: n/a
 
      9th Aug 2008

hi joel ty
i will work on it
in the next days




"Joel" wrote:

> RowNumber = ActiveCell.Row
> Set Col_D = Range("D" & RowNumber)
>
> MyFormula = "='C:\WB\[@@PILOT.F.MI.xlsm]Sheet1'!" & Col_D.Address
> Range("A18") = MyFormula
>
> Column_Diff = Col_D.Column - ActiveCell.Column + 1
>
> FName = "C:\WB\[@@PILOT.F.MI." & _
> Column_Diff & "." & _
> RowNumber & ".xlsm"
> ThisWorkbook.SaveAs FName
>
>
> "pls123" wrote:
>
> > hi all!!
> > i try to explain my problem easily.. im italian so i will use a maccaronic
> > english !!
> > i have page 1 and page 2 saved in the folder..
> >
> > page1 is simply an empty grid .. with numbers from -20 to +20 for rows and
> > standard numbered columns,
> > page2 is a sample page..with code and formulas...
> >
> > i need this .. when i select a cell in page 1, for example cell "L200" ,
> > and i press "CTRL+K" i need to run a macro that creates a new page that saves
> > page2,
> > with written this in cell A18:
> >
> > ='C:\WB\[@@PILOT.F.MI.xlsm]Sheet1'!$D$200
> >
> > and thus it is a "L" ,have to write -7 in cell A19 of page2 (if it was U it
> > would have been a 0 , V 1, W 2 , X 3....AO 20)
> >
> > and also personalized name of the file...like this..
> > F.MI.-7.200.xlsm
> >
> > let me know if u have any suggestion..ty !!

 
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
Tool to enable Right click on pages where Right click is disabled tsteinke@gmail.com Freeware 11 16th Mar 2006 05:29 PM
Tool to Enable right click on web pages where right click disabled tsteinke@gmail.com Windows XP Internet Explorer 4 22nd Aug 2005 01:14 AM
Cannot click links on web pages mahogany0@hotmail.com Windows XP Help 1 28th May 2005 03:42 AM
Change 2 pages with 1 click ? Big Al Microsoft Frontpage 1 24th May 2005 02:02 PM
Pages don't load on first click briant Windows XP Internet Explorer 1 6th Sep 2003 03:53 PM


Features
 

Advertising
 

Newsgroups
 


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